From: Vatika Harlalka Date: Sat, 21 Mar 2015 06:57:34 +0000 (+0530) Subject: Staging: wlan-ng: Remove typedef prism2sta_accesslist_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d10ece3336fbd75ed25ba48ecfb14f5a8a151ec;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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;