Commit 6b73c744 authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler

This patch renames pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
to hif_drv_handler 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 9cf7878c
...@@ -349,18 +349,17 @@ static s32 Handle_SetChannel(struct host_if_drv *hif_drv, ...@@ -349,18 +349,17 @@ static s32 Handle_SetChannel(struct host_if_drv *hif_drv,
} }
static s32 Handle_SetWfiDrvHandler(struct host_if_drv *hif_drv, static s32 Handle_SetWfiDrvHandler(struct host_if_drv *hif_drv,
struct drv_handler *pstrHostIfSetDrvHandler) struct drv_handler *hif_drv_handler)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_SET_DRV_HANDLER; wid.id = (u16)WID_SET_DRV_HANDLER;
wid.type = WID_INT; wid.type = WID_INT;
wid.val = (s8 *)&pstrHostIfSetDrvHandler->handler; wid.val = (s8 *)&hif_drv_handler->handler;
wid.size = sizeof(u32); wid.size = sizeof(u32);
result = send_config_pkt(SET_CFG, &wid, 1, result = send_config_pkt(SET_CFG, &wid, 1, hif_drv_handler->handler);
pstrHostIfSetDrvHandler->handler);
if (!hif_drv) if (!hif_drv)
up(&hif_sema_driver); up(&hif_sema_driver);
......
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