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

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

index 0e10c7502eebf0671d16ad086d2da2e014ca7d56..fd3b5d400d93a03158d6c4bee0e23d5f1c179580 100644 (file)
@@ -87,7 +87,7 @@ struct network_info {
        u8 ch;
        unsigned long time_scan_cached;
        unsigned long time_scan;
-       bool bNewNetwork;
+       bool new_network;
        u8 u8Found;
        u32 u32Tsf;
        u8 *pu8IEs;
index df331971c4b11106a95bd7f201db249178b4118d..c0171f98784422475582335b080413c5a1c696c0 100644 (file)
@@ -1390,7 +1390,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
 
                                        hif_drv->usr_scan_req.rcvd_ch_cnt++;
 
-                                       pstrNetworkInfo->bNewNetwork = true;
+                                       pstrNetworkInfo->new_network = true;
                                        pJoinParams = host_int_ParseJoinBssParam(pstrNetworkInfo);
 
                                        hif_drv->usr_scan_req.scan_result(SCAN_EVENT_NETWORK_FOUND, pstrNetworkInfo,
@@ -1399,7 +1399,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
                                }
                        }
                } else {
-                       pstrNetworkInfo->bNewNetwork = false;
+                       pstrNetworkInfo->new_network = false;
                        hif_drv->usr_scan_req.scan_result(SCAN_EVENT_NETWORK_FOUND, pstrNetworkInfo,
                                                          hif_drv->usr_scan_req.arg, NULL);
                }
index d7b4a2dab2bf109218bf13e60c533b5e6a397f15..5d29f761ad9b9873762948896c130eaff8302273 100644 (file)
@@ -434,7 +434,7 @@ static void CfgScanResult(enum scan_event scan_event,
                                           network_info->cap_info,
                                           network_info->beacon_period);
 
-                               if (network_info->bNewNetwork) {
+                               if (network_info->new_network) {
                                        if (priv->u32RcvdChCount < MAX_NUM_SCANNED_NETWORKS) {
                                                PRINT_D(CFG80211_DBG,
                                                        "Network %s found\n",