]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: wlan-ng: Remove typedef prism2sta_authlist_t
authorVatika Harlalka <vatikaharlalka@gmail.com>
Sat, 21 Mar 2015 06:57:24 +0000 (12:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 21:39:15 +0000 (22:39 +0100)
Remove typdef prism2sta_authlist_t and replace its uses
in the code.
Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h

index 73c646bc50d9d8a38ee1028a5f3a383660eea6fe..0461a00fb0a7f32ed73ed667b0778cffb8d899b5 100644 (file)
@@ -1204,11 +1204,11 @@ typedef struct hfa484x_metacmd {
 #define WLAN_ACCESS_DENY       3   /* Do not authenticate "denied" stations. */
 
 /* XXX These are going away ASAP */
-typedef struct prism2sta_authlist {
+struct prism2sta_authlist {
        unsigned int cnt;
        u8 addr[WLAN_AUTH_MAX][ETH_ALEN];
        u8 assoc[WLAN_AUTH_MAX];
-} prism2sta_authlist_t;
+};
 
 typedef struct prism2sta_accesslist {
        unsigned int modify;
@@ -1348,7 +1348,7 @@ typedef struct hfa384x {
 
        hfa384x_InfFrame_t *scanresults;
 
-       prism2sta_authlist_t authlist;  /* Authenticated station list. */
+       struct prism2sta_authlist authlist;     /* Authenticated station list. */
        unsigned int accessmode;        /* Access mode. */
        prism2sta_accesslist_t allow;   /* Allowed station list. */
        prism2sta_accesslist_t deny;    /* Denied station list. */