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:
Родитель
de3dc47c9e
Коммит
b263dd5e3e
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче