staging: wilc1000: renames u16BeaconPeriod of connect_resp_info structure
authorLeo Kim <leo.kim@atmel.com>
Thu, 4 Feb 2016 09:24:16 +0000 (18:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This patch renames u16BeaconPeriod variable to beacon_period.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 4a825765f98851661e3b744c76c6f743f981fe08..b4f7ec3c59a5c2a7807cf58cd55bfff03383d475 100644 (file)
@@ -330,7 +330,7 @@ s32 wilc_parse_network_info(u8 *msg_buffer,
 
                index = MAC_HDR_LEN + TIME_STAMP_LEN;
 
-               network_info->u16BeaconPeriod = get_beacon_period(msa + index);
+               network_info->beacon_period = get_beacon_period(msa + index);
 
                index += BEACON_INTERVAL_LEN + CAP_INFO_LEN;
 
index 5404162c59600188e06957ad983e7dce98b76e3a..2fbffe83d3546a27c585b8128c50adcd8651823e 100644 (file)
@@ -82,7 +82,7 @@ struct network_info {
        u8 ssid[MAX_SSID_LEN];
        u8 ssid_len;
        u8 bssid[6];
-       u16 u16BeaconPeriod;
+       u16 beacon_period;
        u8 u8DtimPeriod;
        u8 u8channel;
        unsigned long u32TimeRcvdInScanCached;
index 2534c9ac72b132d8b0d39722b043251e51dd32e0..0ba248b2c216c1697647baad4b60ed24a586e150 100644 (file)
@@ -4276,7 +4276,7 @@ static void *host_int_ParseJoinBssParam(struct network_info *ptstrNetworkInfo)
        pNewJoinBssParam = kzalloc(sizeof(struct join_bss_param), GFP_KERNEL);
        if (pNewJoinBssParam) {
                pNewJoinBssParam->dtim_period = ptstrNetworkInfo->u8DtimPeriod;
-               pNewJoinBssParam->beacon_period = ptstrNetworkInfo->u16BeaconPeriod;
+               pNewJoinBssParam->beacon_period = ptstrNetworkInfo->beacon_period;
                pNewJoinBssParam->cap_info = ptstrNetworkInfo->cap_info;
                memcpy(pNewJoinBssParam->au8bssid, ptstrNetworkInfo->bssid, 6);
                memcpy((u8 *)pNewJoinBssParam->ssid, ptstrNetworkInfo->ssid,
index 40287b5593b5579f5e16c6aba5d6c0fe1c500d8d..0938b2dd3d2febb343bdf2fe3ac63392d43483cc 100644 (file)
@@ -252,7 +252,7 @@ static void refresh_scan(void *user_void, u8 all, bool direct_scan)
                                                                  network_info->bssid,
                                                                  network_info->u64Tsf,
                                                                  network_info->cap_info,
-                                                                 network_info->u16BeaconPeriod,
+                                                                 network_info->beacon_period,
                                                                  (const u8 *)network_info->pu8IEs,
                                                                  (size_t)network_info->u16IEsLen,
                                                                  (s32)rssi * 100,
@@ -373,7 +373,7 @@ static void add_network_to_shadow(struct network_info *pstrNetworkInfo,
               pstrNetworkInfo->ssid, pstrNetworkInfo->ssid_len);
        memcpy(last_scanned_shadow[ap_index].bssid,
               pstrNetworkInfo->bssid, ETH_ALEN);
-       last_scanned_shadow[ap_index].u16BeaconPeriod = pstrNetworkInfo->u16BeaconPeriod;
+       last_scanned_shadow[ap_index].beacon_period = pstrNetworkInfo->beacon_period;
        last_scanned_shadow[ap_index].u8DtimPeriod = pstrNetworkInfo->u8DtimPeriod;
        last_scanned_shadow[ap_index].u8channel = pstrNetworkInfo->u8channel;
        last_scanned_shadow[ap_index].u16IEsLen = pstrNetworkInfo->u16IEsLen;
@@ -431,7 +431,7 @@ static void CfgScanResult(enum scan_event scan_event,
                                           channel->center_freq,
                                           (s32)network_info->rssi * 100,
                                           network_info->cap_info,
-                                          network_info->u16BeaconPeriod);
+                                          network_info->beacon_period);
 
                                if (network_info->bNewNetwork) {
                                        if (priv->u32RcvdChCount < MAX_NUM_SCANNED_NETWORKS) {
@@ -449,7 +449,7 @@ static void CfgScanResult(enum scan_event scan_event,
                                                                                  network_info->bssid,
                                                                                  network_info->u64Tsf,
                                                                                  network_info->cap_info,
-                                                                                 network_info->u16BeaconPeriod,
+                                                                                 network_info->beacon_period,
                                                                                  (const u8 *)network_info->pu8IEs,
                                                                                  (size_t)network_info->u16IEsLen,
                                                                                  (s32)network_info->rssi * 100,