staging: wilc1000: remove typedef from the struct tstrHostIfRegisterFrame
This patch removes typedef from the struct tstrHostIfRegisterFrame and renames it to reg_frame in order to comply with the Linux coding style. Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2f9c03f521
commit
bc37c5dfba
@@ -437,7 +437,7 @@ union message_body {
|
||||
struct get_mac_addr strHostIfGetMacAddress;
|
||||
struct ba_session_info strHostIfBASessionInfo;
|
||||
struct remain_ch strHostIfRemainOnChan;
|
||||
tstrHostIfRegisterFrame strHostIfRegisterFrame;
|
||||
struct reg_frame strHostIfRegisterFrame;
|
||||
char *pUserData;
|
||||
tstrHostIFDelAllSta strHostIFDelAllSta;
|
||||
};
|
||||
@@ -3862,7 +3862,8 @@ ERRORHANDLER:
|
||||
* @date
|
||||
* @version 1.0
|
||||
*/
|
||||
static int Handle_RegisterFrame(tstrWILC_WFIDrv *drvHandler, tstrHostIfRegisterFrame *pstrHostIfRegisterFrame)
|
||||
static int Handle_RegisterFrame(tstrWILC_WFIDrv *drvHandler,
|
||||
struct reg_frame *pstrHostIfRegisterFrame)
|
||||
{
|
||||
s32 s32Error = 0;
|
||||
tstrWID strWID;
|
||||
|
||||
@@ -287,14 +287,11 @@ struct remain_ch {
|
||||
u32 u32ListenSessionID;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
||||
struct reg_frame {
|
||||
bool bReg;
|
||||
u16 u16FrameType;
|
||||
u8 u8Regid;
|
||||
|
||||
|
||||
} tstrHostIfRegisterFrame;
|
||||
};
|
||||
|
||||
|
||||
#define ACTION 0xD0
|
||||
|
||||
Reference in New Issue
Block a user