staging: wlan-ng: renames hfa384x_scanResultSub to avoid camelcase
authorJuliana Rodrigues <juliana.orod@gmail.com>
Sat, 8 Oct 2016 09:48:10 +0000 (06:48 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:45 +0000 (10:24 +0200)
Renames the camelcased struct hfa384x_scanResultSub to
hfa384x_scan_result_sub in order to fix a checkpatch warning.

Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h
drivers/staging/wlan-ng/prism2sta.c

index 7af07cb..e3fae14 100644 (file)
@@ -659,7 +659,7 @@ struct hfa384x_comm_tallies_32 {
 } __packed;
 
 /*--  Inquiry Frame, Diagnose: Scan Results & Subfields--*/
-struct hfa384x_ScanResultSub {
+struct hfa384x_scan_result_sub {
        u16 chid;
        u16 anl;
        u16 sl;
@@ -674,7 +674,7 @@ struct hfa384x_ScanResultSub {
 struct hfa384x_scan_result {
        u16 rsvd;
        u16 scanreason;
-       struct hfa384x_ScanResultSub result[HFA384x_SCANRESULT_MAX];
+       struct hfa384x_scan_result_sub result[HFA384x_SCANRESULT_MAX];
 } __packed;
 
 /*--  Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
index c74f486..8a91534 100644 (file)
@@ -1045,7 +1045,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
        /* Get the number of results, first in bytes, then in results */
        nbss = (inf->framelen * sizeof(u16)) -
            sizeof(inf->infotype) - sizeof(inf->info.scanresult.scanreason);
-       nbss /= sizeof(struct hfa384x_ScanResultSub);
+       nbss /= sizeof(struct hfa384x_scan_result_sub);
 
        /* Print em */
        pr_debug("rx scanresults, reason=%d, nbss=%d:\n",