]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: take vif instead of drv in hostIFthread
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:41 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:21:09 +0000 (13:21 -0800)
commitb2981ba1dd11f5f755bc52286eb077387bfbbbe0
tree375793767a89efe2ef052fa8a050d5444367c9f2
parent4b4c15f7eb3758fc0949af9ce2909c39d3a9fa02
staging: wilc1000: take vif instead of drv in hostIFthread

In the first patch, we sent vif to hostIFthread. we can use vif instead of
drv in the all functions which handle the commands from cfg operations.
Change first argument host_if_drv with wilc_vif and use hif_drv of wilc_vif.
Pass vif to the functions as well.
In case of timer callback functions, set vif to the data and use vif instead
of hif_drv.
Lastly, initialize u32RcvdAssocRespInfoLen since changing hif_drv with vif
causes one uninitialied build warning.
Now we have vif that currently being used so we can use interface index of
wilc_vif to send to wilc device.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c