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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1449,13 +1449,13 @@ void wilc_wlan_cleanup(struct net_device *dev)
	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_cfg_frame_t *cfg = &p->cfg_frame;
	int total_len = p->cfg_frame_offset + 4 + DRIVER_HANDLER_SIZE;
	int seq_no = p->cfg_seq_no % 256;
	int driver_handler = (u32)drvHandler;
	int driver_handler = (u32)drv_handler;

	if (type == WILC_CFG_SET)
		cfg->wid_header[0] = 'W';