staging: wilc1000: rename au8bssid in struct found_net_info
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 12 Feb 2016 14:04:38 +0000 (23:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:25:38 +0000 (16:25 -0800)
This patch renames au8bssid to bssid to remove au8 prefix. There is no
need to use prefix to show data type of this variable.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h

index ab02159a3c2581d76507f29b645d7ca7f8172b17..60c18278847d8d03b0feec863464a8b2e411f8bf 100644 (file)
@@ -1352,9 +1352,9 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
                }
 
                for (i = 0; i < hif_drv->usr_scan_req.rcvd_ch_cnt; i++) {
-                       if ((hif_drv->usr_scan_req.net_info[i].au8bssid) &&
+                       if ((hif_drv->usr_scan_req.net_info[i].bssid) &&
                            (pstrNetworkInfo->bssid)) {
-                               if (memcmp(hif_drv->usr_scan_req.net_info[i].au8bssid,
+                               if (memcmp(hif_drv->usr_scan_req.net_info[i].bssid,
                                           pstrNetworkInfo->bssid, 6) == 0) {
                                        if (pstrNetworkInfo->rssi <= hif_drv->usr_scan_req.net_info[i].s8rssi) {
                                                goto done;
@@ -1371,9 +1371,9 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
                        if (hif_drv->usr_scan_req.rcvd_ch_cnt < MAX_NUM_SCANNED_NETWORKS) {
                                hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].s8rssi = pstrNetworkInfo->rssi;
 
-                               if (hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].au8bssid &&
+                               if (hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].bssid &&
                                    pstrNetworkInfo->bssid) {
-                                       memcpy(hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].au8bssid,
+                                       memcpy(hif_drv->usr_scan_req.net_info[hif_drv->usr_scan_req.rcvd_ch_cnt].bssid,
                                               pstrNetworkInfo->bssid, 6);
 
                                        hif_drv->usr_scan_req.rcvd_ch_cnt++;
index bfa4a41264f1c55a3b0706309d7f74883ae403dd..e4729e33217d7604e6babae06eed5269241ccfcb 100644 (file)
@@ -144,7 +144,7 @@ enum cfg_param {
 };
 
 struct found_net_info {
-       u8 au8bssid[6];
+       u8 bssid[6];
        s8 s8rssi;
 };