Merge branch 'for-3.19' of git://linux-nfs.org/~bfields/linux
[cascardo/linux.git] / drivers / staging / rtl8723au / core / rtw_ieee80211.c
index 6274cb3..bbbcfc8 100644 (file)
@@ -69,6 +69,7 @@ int rtw_get_bit_value_from_ieee_value23a(u8 val)
                {2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108, 0};
 
        int i = 0;
+
        while (dot11_rate_table[i] != 0) {
                if (dot11_rate_table[i] == val)
                        return BIT(i);
@@ -301,8 +302,7 @@ void rtw_set_supported_rate23a(u8 *SupportedRates, uint mode)
 
        memset(SupportedRates, 0, NDIS_802_11_LENGTH_RATES_EX);
 
-       switch (mode)
-       {
+       switch (mode) {
        case WIRELESS_11B:
                memcpy(SupportedRates, WIFI_CCKRATES, IEEE80211_CCK_RATE_LEN);
                break;