summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorVatika Harlalka <vatikaharlalka@gmail.com>2015-03-21 12:27:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-23 22:41:16 +0100
commit4d10ece3336fbd75ed25ba48ecfb14f5a8a151ec (patch)
treea9bf7c44832a4d15a5cb2d4a7e65d08bc4e01f1f /drivers/staging/wlan-ng
parent5026df93d23995407cf0f024edbb16e03f367112 (diff)
Staging: wlan-ng: Remove typedef prism2sta_accesslist_t
Remove typedef prism2sta_accesslist_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>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r--drivers/staging/wlan-ng/hfa384x.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 0461a00fb0a7..8dfe4381ddf7 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1210,13 +1210,13 @@ struct prism2sta_authlist {
u8 assoc[WLAN_AUTH_MAX];
};
-typedef struct prism2sta_accesslist {
+struct prism2sta_accesslist {
unsigned int modify;
unsigned int cnt;
u8 addr[WLAN_ACCESS_MAX][ETH_ALEN];
unsigned int cnt1;
u8 addr1[WLAN_ACCESS_MAX][ETH_ALEN];
-} prism2sta_accesslist_t;
+};
typedef struct hfa384x {
/* USB support data */
@@ -1349,9 +1349,9 @@ typedef struct hfa384x {
hfa384x_InfFrame_t *scanresults;
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. */
+ unsigned int accessmode; /* Access mode. */
+ struct prism2sta_accesslist allow; /* Allowed station list. */
+ struct prism2sta_accesslist deny; /* Denied station list. */
} hfa384x_t;