mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
staging: wlan-ng: renames hfa384x_ChInfoResultSub to avoid camelcase
Renames the camelcased struct hfa384x_ChInfoResultSub to hfa384x_ch_info_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:
parent
b263dd5e3e
commit
e35baeb07c
2 changed files with 4 additions and 4 deletions
|
@ -678,7 +678,7 @@ struct hfa384x_scan_result {
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
/*-- Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
|
/*-- Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
|
||||||
struct hfa384x_ChInfoResultSub {
|
struct hfa384x_ch_info_result_sub {
|
||||||
u16 chid;
|
u16 chid;
|
||||||
u16 anl;
|
u16 anl;
|
||||||
u16 pnl;
|
u16 pnl;
|
||||||
|
@ -690,7 +690,7 @@ struct hfa384x_ChInfoResultSub {
|
||||||
|
|
||||||
struct hfa384x_ChInfoResult {
|
struct hfa384x_ChInfoResult {
|
||||||
u16 scanchannels;
|
u16 scanchannels;
|
||||||
struct hfa384x_ChInfoResultSub result[HFA384x_CHINFORESULT_MAX];
|
struct hfa384x_ch_info_result_sub result[HFA384x_CHINFORESULT_MAX];
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
/*-- Inquiry Frame, Diagnose: Host Scan Results & Subfields--*/
|
/*-- Inquiry Frame, Diagnose: Host Scan Results & Subfields--*/
|
||||||
|
|
|
@ -1139,8 +1139,8 @@ static void prism2sta_inf_chinforesults(struct wlandevice *wlandev,
|
||||||
le16_to_cpu(inf->info.chinforesult.scanchannels);
|
le16_to_cpu(inf->info.chinforesult.scanchannels);
|
||||||
|
|
||||||
for (i = 0, n = 0; i < HFA384x_CHINFORESULT_MAX; i++) {
|
for (i = 0, n = 0; i < HFA384x_CHINFORESULT_MAX; i++) {
|
||||||
struct hfa384x_ChInfoResultSub *result;
|
struct hfa384x_ch_info_result_sub *result;
|
||||||
struct hfa384x_ChInfoResultSub *chinforesult;
|
struct hfa384x_ch_info_result_sub *chinforesult;
|
||||||
int chan;
|
int chan;
|
||||||
|
|
||||||
if (!(hw->channel_info.results.scanchannels & (1 << i)))
|
if (!(hw->channel_info.results.scanchannels & (1 << i)))
|
||||||
|
|
Loading…
Reference in a new issue