summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.c
diff options
context:
space:
mode:
authorGlen Lee2015-11-18 07:11:33 +0100
committerGreg Kroah-Hartman2015-12-18 23:30:50 +0100
commitec62e6d1ec3f668ee0462734ede28be6b3d7db1c (patch)
tree64a60ec6eee64f168cb458996c38913f2c4978b0 /drivers/staging/wilc1000/coreconfigurator.c
parentstaging: wilc1000: add struct wilc to host_if_drv (diff)
downloadkernel-qcow2-linux-ec62e6d1ec3f668ee0462734ede28be6b3d7db1c.tar.gz
kernel-qcow2-linux-ec62e6d1ec3f668ee0462734ede28be6b3d7db1c.tar.xz
kernel-qcow2-linux-ec62e6d1ec3f668ee0462734ede28be6b3d7db1c.zip
staging: wilc1000: wilc_send_config_pkt: pass struct wilc
This patch passes struct wilc to wilc_send_config_pkt. The function wilc_wlan_cfg_set and wilc_wlan_cfg_get function will get wilc to replace wilc_dev with it. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 47fa82f26b53..dc290d13fd37 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -588,7 +588,8 @@ s32 wilc_dealloc_assoc_resp_info(tstrConnectRespInfo *pstrConnectRespInfo)
* @date 1 Mar 2012
* @version 1.0
*/
-s32 wilc_send_config_pkt(u8 mode, struct wid *wids, u32 count, u32 drv)
+s32 wilc_send_config_pkt(struct wilc *wilc, u8 mode, struct wid *wids,
+ u32 count, u32 drv)
{
s32 counter = 0, ret = 0;