staging: wilc1000: rename WILC_WFI_rates variable
authorLeo Kim <leo.kim@atmel.com>
Thu, 19 Nov 2015 06:56:13 +0000 (15:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:34:41 +0000 (14:34 -0800)
This patch renames WILC_WFI_rates variable to ieee80211_bitrates
to avoid camelcase.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 349b720fe57b645e30da6ee71704e530bc670cc9..c2e7bf89d0caf5ea0c5b87e9b45d71868df07568 100644 (file)
@@ -149,7 +149,7 @@ static struct ieee80211_channel ieee80211_2ghz_channels[] = {
 
 
 /* Table 6 in section 3.2.1.1 */
-static struct ieee80211_rate WILC_WFI_rates[] = {
+static struct ieee80211_rate ieee80211_bitrates[] = {
        RATETAB_ENT(10,  0,  0),
        RATETAB_ENT(20,  1,  0),
        RATETAB_ENT(55,  2,  0),
@@ -183,8 +183,8 @@ static bool bWilc_ie;
 static struct ieee80211_supported_band WILC_WFI_band_2ghz = {
        .channels = ieee80211_2ghz_channels,
        .n_channels = ARRAY_SIZE(ieee80211_2ghz_channels),
-       .bitrates = WILC_WFI_rates,
-       .n_bitrates = ARRAY_SIZE(WILC_WFI_rates),
+       .bitrates = ieee80211_bitrates,
+       .n_bitrates = ARRAY_SIZE(ieee80211_bitrates),
 };