diff options
author | Leo Kim | 2015-10-13 12:50:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-13 18:55:08 +0200 |
commit | 730ee059d4ea7403d72819c84b864a27464fe60d (patch) | |
tree | faa75a686d2a242c34a34a6537adf7b9754a5216 /drivers/staging/wilc1000/host_interface.c | |
parent | staging: wilc1000: rename u32Length of struct rcvd_async_info (diff) | |
download | kernel-qcow2-linux-730ee059d4ea7403d72819c84b864a27464fe60d.tar.gz kernel-qcow2-linux-730ee059d4ea7403d72819c84b864a27464fe60d.tar.xz kernel-qcow2-linux-730ee059d4ea7403d72819c84b864a27464fe60d.zip |
staging: wilc1000: rename u8SetChan of struct channel_attr
This patch renames u8SetChan of struct channel_attr to set_ch to
avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 3d0796f750df..cd4236413d41 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -127,7 +127,7 @@ struct rcvd_async_info { }; struct channel_attr { - u8 u8SetChan; + u8 set_ch; }; struct beacon_attr { @@ -342,7 +342,7 @@ static s32 Handle_SetChannel(struct host_if_drv *hif_drv, strWID.id = (u16)WID_CURRENT_CHANNEL; strWID.type = WID_CHAR; - strWID.val = (char *)&(pstrHostIFSetChan->u8SetChan); + strWID.val = (char *)&(pstrHostIFSetChan->set_ch); strWID.size = sizeof(char); PRINT_D(HOSTINF_DBG, "Setting channel\n"); @@ -3786,7 +3786,7 @@ int host_int_set_mac_chnl_num(struct host_if_drv *hif_drv, u8 channel) memset(&msg, 0, sizeof(struct host_if_msg)); msg.id = HOST_IF_MSG_SET_CHANNEL; - msg.body.channel_info.u8SetChan = channel; + msg.body.channel_info.set_ch = channel; msg.drv = hif_drv; result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); |