staging: wilc1000: set hif_drv before it is used
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:49 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:21:09 +0000 (13:21 -0800)
commit03efae328ddcda7826a3bedb2ac15eb9598eabb4
treee99052e83e7b16c22788547db6ae8a52178af601
parentcd2920a50c3a484d67745f15fc9c99c3fd96ac6f
staging: wilc1000: set hif_drv before it is used

We are using hif_drv of vif, so it needs to be set before it is used.
Set hif_drv to vif->hifdrv soon after it is allocated.

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