Commit 9cf7878c authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel

This patch renames pstrHostIFSetChan of fuction Handle_SetChannel to hif_set_ch
to avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 67ab64e4
...@@ -325,14 +325,14 @@ static struct host_if_drv *get_handler_from_id(int id) ...@@ -325,14 +325,14 @@ static struct host_if_drv *get_handler_from_id(int id)
} }
static s32 Handle_SetChannel(struct host_if_drv *hif_drv, static s32 Handle_SetChannel(struct host_if_drv *hif_drv,
struct channel_attr *pstrHostIFSetChan) struct channel_attr *hif_set_ch)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_CURRENT_CHANNEL; wid.id = (u16)WID_CURRENT_CHANNEL;
wid.type = WID_CHAR; wid.type = WID_CHAR;
wid.val = (char *)&pstrHostIFSetChan->set_ch; wid.val = (char *)&hif_set_ch->set_ch;
wid.size = sizeof(char); wid.size = sizeof(char);
PRINT_D(HOSTINF_DBG, "Setting channel\n"); PRINT_D(HOSTINF_DBG, "Setting channel\n");
......
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