This patch fixes a bug connection error when changing virtual interface to p2p.
Variable quit needs to be set 0 when wilc is reinitialized again.
Fixes :
67e2a07ed800 ("staging: wilc1000: move all of wilc_wlan_dev_t to struct wilc")
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
PRINT_D(INIT_DBG, "Initializing WILC_Wlan ...\n");
PRINT_D(INIT_DBG, "Initializing WILC_Wlan ...\n");
if (!wilc->hif_func->hif_init(wilc)) {
ret = -EIO;
goto _fail_;
if (!wilc->hif_func->hif_init(wilc)) {
ret = -EIO;
goto _fail_;