staging: wilc1000: fix bug when changing virtual interface
authorGlen Lee <glen.lee@atmel.com>
Mon, 25 Jan 2016 07:35:05 +0000 (16:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:25:40 +0000 (15:25 -0800)
commit0c94df023602803fe4eaeb655510f5230b245beb
tree67e065978f5010ff60da24a3ccc3b5390b47758a
parent734fadce60a810beb9471d260e5e8af820d50b1d
staging: wilc1000: fix bug when changing virtual interface

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>
drivers/staging/wilc1000/wilc_wlan.c