Commit b263dd5e authored by Juliana Rodrigues's avatar Juliana Rodrigues Committed by Greg Kroah-Hartman

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: default avatarJuliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent de3dc47c
......@@ -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--*/
......
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment