From: Sankar P Date: Fri, 19 Mar 2010 20:40:59 +0000 (+0530) Subject: Staging: winbond: Convert typedef struct _PMKID to struct pmkid X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~408 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=649f0650acae35ff301b81159820bf8eecf7f68e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: winbond: Convert typedef struct _PMKID to struct pmkid This patch converts the definition typedef struct _PMKID to struct pmkid and also the part where the typedef was used. Signed-off-by: Sankar P Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/winbond/mac_structures.h b/drivers/staging/winbond/mac_structures.h index 0d1619601c0b..350299026d48 100644 --- a/drivers/staging/winbond/mac_structures.h +++ b/drivers/staging/winbond/mac_structures.h @@ -505,10 +505,10 @@ struct RSN_Capability_Element }__attribute__ ((packed)) ; #ifdef _WPA2_ -typedef struct _PMKID +struct pmkid { u8 pValue[16]; -}PMKID; +}; struct WPA2_RSN_Information_Element { @@ -531,7 +531,7 @@ struct WPA2_RSN_Auth_Sub_Information_Element struct PMKID_Information_Element { u16 PMKID_Count; - PMKID pmkid [16] ; + struct pmkid pmkid[16]; }__attribute__ ((packed)); #endif //enddef _WPA2_