Commit 070d365c authored by Tony Cho's avatar Tony Cho Committed by Greg Kroah-Hartman

staging: wilc1000: rename strHostIfRemainOnChan

This patch renames strHostIfRemainOnChan to remain_on_ch to avoid
CamelCase naming convention.
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c833b474
...@@ -390,7 +390,7 @@ union message_body { ...@@ -390,7 +390,7 @@ union message_body {
struct set_mac_addr set_mac_info; struct set_mac_addr set_mac_info;
struct get_mac_addr get_mac_info; struct get_mac_addr get_mac_info;
struct ba_session_info session_info; struct ba_session_info session_info;
struct remain_ch strHostIfRemainOnChan; struct remain_ch remain_on_ch;
struct reg_frame strHostIfRegisterFrame; struct reg_frame strHostIfRegisterFrame;
char *pUserData; char *pUserData;
struct del_all_sta strHostIFDelAllSta; struct del_all_sta strHostIFDelAllSta;
...@@ -3693,7 +3693,7 @@ static void ListenTimerCB(unsigned long arg) ...@@ -3693,7 +3693,7 @@ static void ListenTimerCB(unsigned long arg)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED; msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED;
msg.drvHandler = pstrWFIDrv; msg.drvHandler = pstrWFIDrv;
msg.body.strHostIfRemainOnChan.u32ListenSessionID = pstrWFIDrv->strHostIfRemainOnChan.u32ListenSessionID; msg.body.remain_on_ch.u32ListenSessionID = pstrWFIDrv->strHostIfRemainOnChan.u32ListenSessionID;
/* send the message */ /* send the message */
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -4098,7 +4098,7 @@ static int hostIFthread(void *pvArg) ...@@ -4098,7 +4098,7 @@ static int hostIFthread(void *pvArg)
Handle_ScanDone(msg.drvHandler, SCAN_EVENT_DONE); Handle_ScanDone(msg.drvHandler, SCAN_EVENT_DONE);
if (pstrWFIDrv->u8RemainOnChan_pendingreq) if (pstrWFIDrv->u8RemainOnChan_pendingreq)
Handle_RemainOnChan(msg.drvHandler, &msg.body.strHostIfRemainOnChan); Handle_RemainOnChan(msg.drvHandler, &msg.body.remain_on_ch);
break; break;
...@@ -4186,7 +4186,7 @@ static int hostIFthread(void *pvArg) ...@@ -4186,7 +4186,7 @@ static int hostIFthread(void *pvArg)
case HOST_IF_MSG_REMAIN_ON_CHAN: case HOST_IF_MSG_REMAIN_ON_CHAN:
PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REMAIN_ON_CHAN\n"); PRINT_D(HOSTINF_DBG, "HOST_IF_MSG_REMAIN_ON_CHAN\n");
Handle_RemainOnChan(msg.drvHandler, &msg.body.strHostIfRemainOnChan); Handle_RemainOnChan(msg.drvHandler, &msg.body.remain_on_ch);
break; break;
case HOST_IF_MSG_REGISTER_FRAME: case HOST_IF_MSG_REGISTER_FRAME:
...@@ -4195,7 +4195,7 @@ static int hostIFthread(void *pvArg) ...@@ -4195,7 +4195,7 @@ static int hostIFthread(void *pvArg)
break; break;
case HOST_IF_MSG_LISTEN_TIMER_FIRED: case HOST_IF_MSG_LISTEN_TIMER_FIRED:
Handle_ListenStateExpired(msg.drvHandler, &msg.body.strHostIfRemainOnChan); Handle_ListenStateExpired(msg.drvHandler, &msg.body.remain_on_ch);
break; break;
case HOST_IF_MSG_SET_MULTICAST_FILTER: case HOST_IF_MSG_SET_MULTICAST_FILTER:
...@@ -6407,12 +6407,12 @@ s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u ...@@ -6407,12 +6407,12 @@ s32 host_int_remain_on_channel(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID, u32 u
/* prepare the WiphyParams Message */ /* prepare the WiphyParams Message */
msg.id = HOST_IF_MSG_REMAIN_ON_CHAN; msg.id = HOST_IF_MSG_REMAIN_ON_CHAN;
msg.body.strHostIfRemainOnChan.u16Channel = chan; msg.body.remain_on_ch.u16Channel = chan;
msg.body.strHostIfRemainOnChan.pRemainOnChanExpired = RemainOnChanExpired; msg.body.remain_on_ch.pRemainOnChanExpired = RemainOnChanExpired;
msg.body.strHostIfRemainOnChan.pRemainOnChanReady = RemainOnChanReady; msg.body.remain_on_ch.pRemainOnChanReady = RemainOnChanReady;
msg.body.strHostIfRemainOnChan.pVoid = pvUserArg; msg.body.remain_on_ch.pVoid = pvUserArg;
msg.body.strHostIfRemainOnChan.u32duration = u32duration; msg.body.remain_on_ch.u32duration = u32duration;
msg.body.strHostIfRemainOnChan.u32ListenSessionID = u32SessionID; msg.body.remain_on_ch.u32ListenSessionID = u32SessionID;
msg.drvHandler = hWFIDrv; msg.drvHandler = hWFIDrv;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
...@@ -6454,7 +6454,7 @@ s32 host_int_ListenStateExpired(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID) ...@@ -6454,7 +6454,7 @@ s32 host_int_ListenStateExpired(tstrWILC_WFIDrv *hWFIDrv, u32 u32SessionID)
memset(&msg, 0, sizeof(struct host_if_msg)); memset(&msg, 0, sizeof(struct host_if_msg));
msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED; msg.id = HOST_IF_MSG_LISTEN_TIMER_FIRED;
msg.drvHandler = hWFIDrv; msg.drvHandler = hWFIDrv;
msg.body.strHostIfRemainOnChan.u32ListenSessionID = u32SessionID; msg.body.remain_on_ch.u32ListenSessionID = u32SessionID;
s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
if (s32Error) if (s32Error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment