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_AssocStatus to avoid camelcase
Renames the camelcased struct hfa384x_AssocStatus to hfa384x_assoc_status 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
e35baeb07c
commit
1889b0db31
2 changed files with 3 additions and 3 deletions
|
@ -733,7 +733,7 @@ struct hfa384x_LinkStatus {
|
||||||
#define HFA384x_ASSOCSTATUS_REASSOC ((u16)2)
|
#define HFA384x_ASSOCSTATUS_REASSOC ((u16)2)
|
||||||
#define HFA384x_ASSOCSTATUS_AUTHFAIL ((u16)5)
|
#define HFA384x_ASSOCSTATUS_AUTHFAIL ((u16)5)
|
||||||
|
|
||||||
struct hfa384x_AssocStatus {
|
struct hfa384x_assoc_status {
|
||||||
u16 assocstatus;
|
u16 assocstatus;
|
||||||
u8 sta_addr[ETH_ALEN];
|
u8 sta_addr[ETH_ALEN];
|
||||||
/* old_ap_addr is only valid if assocstatus == 2 */
|
/* old_ap_addr is only valid if assocstatus == 2 */
|
||||||
|
@ -768,7 +768,7 @@ union hfa384x_infodata {
|
||||||
struct hfa384x_ChInfoResult chinforesult;
|
struct hfa384x_ChInfoResult chinforesult;
|
||||||
struct hfa384x_HScanResult hscanresult;
|
struct hfa384x_HScanResult hscanresult;
|
||||||
struct hfa384x_LinkStatus linkstatus;
|
struct hfa384x_LinkStatus linkstatus;
|
||||||
struct hfa384x_AssocStatus assocstatus;
|
struct hfa384x_assoc_status assocstatus;
|
||||||
struct hfa384x_AuthRequest authreq;
|
struct hfa384x_AuthRequest authreq;
|
||||||
struct hfa384x_PSUserCount psusercnt;
|
struct hfa384x_PSUserCount psusercnt;
|
||||||
struct hfa384x_KeyIDChanged keyidchanged;
|
struct hfa384x_KeyIDChanged keyidchanged;
|
||||||
|
|
|
@ -1474,7 +1474,7 @@ static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
|
||||||
struct hfa384x_inf_frame *inf)
|
struct hfa384x_inf_frame *inf)
|
||||||
{
|
{
|
||||||
struct hfa384x *hw = wlandev->priv;
|
struct hfa384x *hw = wlandev->priv;
|
||||||
struct hfa384x_AssocStatus rec;
|
struct hfa384x_assoc_status rec;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
memcpy(&rec, &inf->info.assocstatus, sizeof(rec));
|
memcpy(&rec, &inf->info.assocstatus, sizeof(rec));
|
||||||
|
|
Loading…
Reference in a new issue