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@xxxxxxxxx> --- 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 { -- 1.6.4.2 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel