summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/coreconfigurator.h
diff options
context:
space:
mode:
authorGlen Lee2015-12-21 06:18:42 +0100
committerGreg Kroah-Hartman2015-12-21 22:21:09 +0100
commitcd04d221dd6c9ceb5732d2c22c9e3bb7f8830a6a (patch)
treea02fed66dba02f86fd4a086d22bafdd72d0599a2 /drivers/staging/wilc1000/coreconfigurator.h
parentstaging: wilc1000: take vif instead of drv in hostIFthread (diff)
downloadkernel-qcow2-linux-cd04d221dd6c9ceb5732d2c22c9e3bb7f8830a6a.tar.gz
kernel-qcow2-linux-cd04d221dd6c9ceb5732d2c22c9e3bb7f8830a6a.tar.xz
kernel-qcow2-linux-cd04d221dd6c9ceb5732d2c22c9e3bb7f8830a6a.zip
staging: wilc1000: pass struct wilc
Pass struct wilc to the following functions. The functions need wilc to get proper vif using id from wilc device. 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.h')
-rw-r--r--drivers/staging/wilc1000/coreconfigurator.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h
index 3f2a7d3c3a17..fc43d04ca1da 100644
--- a/drivers/staging/wilc1000/coreconfigurator.h
+++ b/drivers/staging/wilc1000/coreconfigurator.h
@@ -135,9 +135,10 @@ s32 wilc_dealloc_network_info(tstrNetworkInfo *pstrNetworkInfo);
s32 wilc_parse_assoc_resp_info(u8 *pu8Buffer, u32 u32BufferLen,
tstrConnectRespInfo **ppstrConnectRespInfo);
s32 wilc_dealloc_assoc_resp_info(tstrConnectRespInfo *pstrConnectRespInfo);
-
-void wilc_network_info_received(u8 *pu8Buffer, u32 u32Length);
-void wilc_gnrl_async_info_received(u8 *pu8Buffer, u32 u32Length);
-void wilc_scan_complete_received(u8 *pu8Buffer, u32 u32Length);
-
+void wilc_scan_complete_received(struct wilc *wilc, u8 *pu8Buffer,
+ u32 u32Length);
+void wilc_network_info_received(struct wilc *wilc, u8 *pu8Buffer,
+ u32 u32Length);
+void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *pu8Buffer,
+ u32 u32Length);
#endif