staging: wlan-ng: renames hfa384x_scanResultSub to avoid camelcase

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>
This commit is contained in:
Juliana Rodrigues 2016-10-08 06:48:10 -03:00 committed by Greg Kroah-Hartman
parent de3dc47c9e
commit b263dd5e3e
2 changed files with 3 additions and 3 deletions

View 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--*/

View 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",