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

staging: wlan-ng: renames hfa384x_JoinRequest_data to avoid camelcase

Renames the camelcased struct hfa384x_JoinRequest_data to
hfa384x_join_request_data 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 040a7bd4
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
#define HFA384x_RID_DBMCOMMSQUALITY_LEN \ #define HFA384x_RID_DBMCOMMSQUALITY_LEN \
((u16)sizeof(struct hfa384x_dbmcommsquality)) ((u16)sizeof(struct hfa384x_dbmcommsquality))
#define HFA384x_RID_JOINREQUEST_LEN \ #define HFA384x_RID_JOINREQUEST_LEN \
((u16)sizeof(struct hfa384x_JoinRequest_data)) ((u16)sizeof(struct hfa384x_join_request_data))
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
* Information RIDs: Modem Information * Information RIDs: Modem Information
...@@ -415,7 +415,7 @@ struct hfa384x_HostScanRequest_data { ...@@ -415,7 +415,7 @@ struct hfa384x_HostScanRequest_data {
} __packed; } __packed;
/*-- Configuration Record: JoinRequest (data portion only) --*/ /*-- Configuration Record: JoinRequest (data portion only) --*/
struct hfa384x_JoinRequest_data { struct hfa384x_join_request_data {
u8 bssid[WLAN_BSSID_LEN]; u8 bssid[WLAN_BSSID_LEN];
u16 channel; u16 channel;
} __packed; } __packed;
...@@ -1294,7 +1294,7 @@ struct hfa384x { ...@@ -1294,7 +1294,7 @@ struct hfa384x {
int scanflag; /* to signal scan complete */ int scanflag; /* to signal scan complete */
int join_ap; /* are we joined to a specific ap */ int join_ap; /* are we joined to a specific ap */
int join_retries; /* number of join retries till we fail */ int join_retries; /* number of join retries till we fail */
struct hfa384x_JoinRequest_data joinreq; /* join request saved data */ struct hfa384x_join_request_data joinreq;/* join request saved data */
struct wlandevice *wlandev; struct wlandevice *wlandev;
/* Timer to allow for the deferred processing of linkstatus messages */ /* Timer to allow for the deferred processing of linkstatus messages */
......
...@@ -1039,7 +1039,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev, ...@@ -1039,7 +1039,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
int nbss; int nbss;
struct hfa384x_scan_result *sr = &inf->info.scanresult; struct hfa384x_scan_result *sr = &inf->info.scanresult;
int i; int i;
struct hfa384x_JoinRequest_data joinreq; struct hfa384x_join_request_data joinreq;
int result; int result;
/* Get the number of results, first in bytes, then in results */ /* Get the number of results, first in bytes, then in results */
...@@ -1394,7 +1394,7 @@ void prism2sta_processing_defer(struct work_struct *data) ...@@ -1394,7 +1394,7 @@ void prism2sta_processing_defer(struct work_struct *data)
* Disable Transmits, Ignore receives of data frames * Disable Transmits, Ignore receives of data frames
*/ */
if (hw->join_ap && --hw->join_retries > 0) { if (hw->join_ap && --hw->join_retries > 0) {
struct hfa384x_JoinRequest_data joinreq; struct hfa384x_join_request_data joinreq;
joinreq = hw->joinreq; joinreq = hw->joinreq;
/* Send the join request */ /* Send the join request */
......
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