staging: wilc1000: rename u16FlagsSet of struct add_sta_param
authorLeo Kim <leo.kim@atmel.com>
Thu, 29 Oct 2015 03:05:53 +0000 (12:05 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch renames u16FlagsSet of struct add_sta_param to flags_set
to avoid CamelCase naming convention.

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/host_interface.c
drivers/staging/wilc1000/host_interface.h
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 258dabd24dd77961d56896f5c7646c81f9f4e3b3..34b345516a92cd413c531de5cdef9e038461ccdf 100644 (file)
@@ -2342,8 +2342,8 @@ static u32 WILC_HostIf_PackStaParam(u8 *pu8Buffer,
        *pu8CurrByte++ = pstrStationParam->flags_mask & 0xFF;
        *pu8CurrByte++ = (pstrStationParam->flags_mask >> 8) & 0xFF;
 
-       *pu8CurrByte++ = pstrStationParam->u16FlagsSet & 0xFF;
-       *pu8CurrByte++ = (pstrStationParam->u16FlagsSet >> 8) & 0xFF;
+       *pu8CurrByte++ = pstrStationParam->flags_set & 0xFF;
+       *pu8CurrByte++ = (pstrStationParam->flags_set >> 8) & 0xFF;
 
        return pu8CurrByte - pu8Buffer;
 }
index 1422b90b31731d2603b896ea22870cc943671862..72c47974d2d8266612e6fce9135bef1313a37ad7 100644 (file)
@@ -300,7 +300,7 @@ struct add_sta_param {
        u32 ht_tx_bf_cap;
        u8 ht_ante_sel;
        u16 flags_mask;
-       u16 u16FlagsSet;
+       u16 flags_set;
 };
 
 s32 host_int_remove_key(struct host_if_drv *hWFIDrv, const u8 *pu8StaAddress);
index 0ae47c5c3a1687b13143eb2acebc9dabbd5a4ac4..4de27ef5b6e4990e48e8753f46447eb90e0185f3 100644 (file)
@@ -3024,7 +3024,7 @@ static int add_station(struct wiphy *wiphy, struct net_device *dev,
                }
 
                strStaParams.flags_mask = params->sta_flags_mask;
-               strStaParams.u16FlagsSet = params->sta_flags_set;
+               strStaParams.flags_set = params->sta_flags_set;
 
                PRINT_D(HOSTAPD_DBG, "IS HT supported = %d\n",
                        strStaParams.ht_supported);
@@ -3040,7 +3040,8 @@ static int add_station(struct wiphy *wiphy, struct net_device *dev,
                        strStaParams.ht_ante_sel);
                PRINT_D(HOSTAPD_DBG, "Flag Mask = %d\n",
                        strStaParams.flags_mask);
-               PRINT_D(HOSTAPD_DBG, "Flag Set = %d\n", strStaParams.u16FlagsSet);
+               PRINT_D(HOSTAPD_DBG, "Flag Set = %d\n",
+                       strStaParams.flags_set);
 
                s32Error = host_int_add_station(priv->hWILCWFIDrv, &strStaParams);
                if (s32Error)
@@ -3147,7 +3148,7 @@ static int change_station(struct wiphy *wiphy, struct net_device *dev,
                }
 
                strStaParams.flags_mask = params->sta_flags_mask;
-               strStaParams.u16FlagsSet = params->sta_flags_set;
+               strStaParams.flags_set = params->sta_flags_set;
 
                PRINT_D(HOSTAPD_DBG, "IS HT supported = %d\n",
                        strStaParams.ht_supported);
@@ -3163,7 +3164,8 @@ static int change_station(struct wiphy *wiphy, struct net_device *dev,
                        strStaParams.ht_ante_sel);
                PRINT_D(HOSTAPD_DBG, "Flag Mask = %d\n",
                        strStaParams.flags_mask);
-               PRINT_D(HOSTAPD_DBG, "Flag Set = %d\n", strStaParams.u16FlagsSet);
+               PRINT_D(HOSTAPD_DBG, "Flag Set = %d\n",
+                       strStaParams.flags_set);
 
                s32Error = host_int_edit_station(priv->hWILCWFIDrv, &strStaParams);
                if (s32Error)