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

staging: wlan-ng: renames hfa384x_CommTallies32 to avoid camelcase

Fixes a checkpatch warning by renaming the camelcased struct
hfa384x_CommTallies32 to hfa384x_comm_tallies_32.
Signed-off-by: default avatarJuliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60f5f3fb
...@@ -634,7 +634,7 @@ struct hfa384x_CommTallies16 { ...@@ -634,7 +634,7 @@ struct hfa384x_CommTallies16 {
u16 rxmsginbadmsgfrag; u16 rxmsginbadmsgfrag;
} __packed; } __packed;
struct hfa384x_CommTallies32 { struct hfa384x_comm_tallies_32 {
u32 txunicastframes; u32 txunicastframes;
u32 txmulticastframes; u32 txmulticastframes;
u32 txfragments; u32 txfragments;
...@@ -763,7 +763,7 @@ struct hfa384x_KeyIDChanged { ...@@ -763,7 +763,7 @@ struct hfa384x_KeyIDChanged {
/*-- Collection of all Inf frames ---------------*/ /*-- Collection of all Inf frames ---------------*/
union hfa384x_infodata { union hfa384x_infodata {
struct hfa384x_CommTallies16 commtallies16; struct hfa384x_CommTallies16 commtallies16;
struct hfa384x_CommTallies32 commtallies32; struct hfa384x_comm_tallies_32 commtallies32;
struct hfa384x_ScanResult scanresult; struct hfa384x_ScanResult scanresult;
struct hfa384x_ChInfoResult chinforesult; struct hfa384x_ChInfoResult chinforesult;
struct hfa384x_HScanResult hscanresult; struct hfa384x_HScanResult hscanresult;
...@@ -1360,7 +1360,7 @@ struct hfa384x { ...@@ -1360,7 +1360,7 @@ struct hfa384x {
struct hfa384x_caplevel cap_act_ap_mfi; /* ap f/w to modem interface */ struct hfa384x_caplevel cap_act_ap_mfi; /* ap f/w to modem interface */
u32 psusercount; /* Power save user count. */ u32 psusercount; /* Power save user count. */
struct hfa384x_CommTallies32 tallies; /* Communication tallies. */ struct hfa384x_comm_tallies_32 tallies; /* Communication tallies. */
u8 comment[WLAN_COMMENT_MAX + 1]; /* User comment */ u8 comment[WLAN_COMMENT_MAX + 1]; /* User comment */
/* Channel Info request results (AP only) */ /* Channel Info request results (AP only) */
......
...@@ -1001,7 +1001,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev, ...@@ -1001,7 +1001,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev,
* record length of the info record. * record length of the info record.
*/ */
cnt = sizeof(struct hfa384x_CommTallies32) / sizeof(u32); cnt = sizeof(struct hfa384x_comm_tallies_32) / sizeof(u32);
if (inf->framelen > 22) { if (inf->framelen > 22) {
dst = (u32 *)&hw->tallies; dst = (u32 *)&hw->tallies;
src32 = (u32 *)&inf->info.commtallies32; src32 = (u32 *)&inf->info.commtallies32;
......
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