From: Vatika Harlalka Date: Sat, 21 Mar 2015 06:57:24 +0000 (+0530) Subject: Staging: wlan-ng: Remove typedef prism2sta_authlist_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c84b528c082a396443104f6931691948c088d94b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Staging: wlan-ng: Remove typedef prism2sta_authlist_t Remove typdef prism2sta_authlist_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 73c646bc50d9..0461a00fb0a7 100644 --- a/drivers/staging/wlan-ng/hfa384x.h +++ b/drivers/staging/wlan-ng/hfa384x.h @@ -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. */