Staging: winbond: Convert typedef struct _PMKID to struct pmkid
authorSankar P <sankar.curiosity@gmail.com>
Fri, 19 Mar 2010 20:40:59 +0000 (02:10 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:47 +0000 (11:35 -0700)
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 <sankar.curiosity@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/mac_structures.h

index 0d1619601c0bea7d81c5dc0934221d4bfd13bd4b..350299026d48baec887e6ea5f1410570c48d3011 100644 (file)
@@ -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_