lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/6] staging: winbond: Convert typedef struct _PMKID to struct pmkid
On Sat 2010-03-20 02:10:59, Sankar P wrote:
> 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>

ACK.

> ---
> drivers/staging/winbond/mac_structures.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/winbond/mac_structures.h b/drivers/staging/winbond/mac_structures.h
> index 0d16196..ad19c88 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_

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2010-03-20 01:17    [W:0.081 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site