lkml.org 
[lkml]   [2010]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6] staging: winbond: Convert typedef struct _MLME_FRAME to struct
On Sat 2010-03-20 02:11:03, Sankar P wrote:
> This patch converts the typedef struct _MLME_FRAME to
> struct mlme_frame and updates the places where it is used.
>
> Signed-off-by: Sankar P <sankar.curiosity@gmail.com>

Ack.

> ---
> drivers/staging/winbond/core.h | 2 +-
> drivers/staging/winbond/mlme_s.h | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h
> index 0a2060b..372053a 100644
> --- a/drivers/staging/winbond/core.h
> +++ b/drivers/staging/winbond/core.h
> @@ -16,7 +16,7 @@ struct wbsoft_priv {
>
> struct wb_local_para sLocalPara; // Myself connected parameters
>
> - MLME_FRAME sMlmeFrame; // connect to peerSTA parameters
> + struct mlme_frame sMlmeFrame; /* connect to peerSTA parameters */
>
> struct wb35_mto_params sMtoPara; // MTO_struct ...
> struct hw_data sHwData; //For HAL
> diff --git a/drivers/staging/winbond/mlme_s.h b/drivers/staging/winbond/mlme_s.h
> index 1217a1c..c95debf 100644
> --- a/drivers/staging/winbond/mlme_s.h
> +++ b/drivers/staging/winbond/mlme_s.h
> @@ -131,7 +131,7 @@
> #define boMLME_IdleScanState(_BB_) (_BB_->wState==IDLE_SCAN)
> #define boMLME_FoundSTAinfo(_CC_) (_CC_->wState>=IDLE_SCAN)
>
> -typedef struct _MLME_FRAME
> +struct mlme_frame
> {
> //NDIS_PACKET MLME_Packet;
> s8 * pMMPDU;
> @@ -156,7 +156,7 @@ typedef struct _MLME_FRAME
> u16 wNumRxMMPDUInMLME; // Number of the Rx MMPDU
> u16 reserved_1; // in MLME.
> // excluding the discarded
> -} MLME_FRAME, *psMLME_FRAME;
> +};
>
> typedef struct _AUTHREQ {
>

--
(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:19    [W:0.314 / U:0.060 seconds]
©2003-2014 Jasper Spaans. Advertise on this site