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

staging: wilc1000: rename drvHandler in wilc_wlan_cfg_commit function

This patch rename drvHandler to drv_handler that is third argument of
wilc_wlan_cfg_commit function to avoid camelcase.
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 076ef657
...@@ -1449,13 +1449,13 @@ void wilc_wlan_cleanup(struct net_device *dev) ...@@ -1449,13 +1449,13 @@ void wilc_wlan_cleanup(struct net_device *dev)
p->hif_func.hif_deinit(NULL); p->hif_func.hif_deinit(NULL);
} }
static int wilc_wlan_cfg_commit(int type, u32 drvHandler) static int wilc_wlan_cfg_commit(int type, u32 drv_handler)
{ {
wilc_wlan_dev_t *p = &g_wlan; wilc_wlan_dev_t *p = &g_wlan;
wilc_cfg_frame_t *cfg = &p->cfg_frame; wilc_cfg_frame_t *cfg = &p->cfg_frame;
int total_len = p->cfg_frame_offset + 4 + DRIVER_HANDLER_SIZE; int total_len = p->cfg_frame_offset + 4 + DRIVER_HANDLER_SIZE;
int seq_no = p->cfg_seq_no % 256; int seq_no = p->cfg_seq_no % 256;
int driver_handler = (u32)drvHandler; int driver_handler = (u32)drv_handler;
if (type == WILC_CFG_SET) if (type == WILC_CFG_SET)
cfg->wid_header[0] = 'W'; cfg->wid_header[0] = 'W';
......
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