wl12xx: clear wl->vif on remove_interface
authorEliad Peller <eliad@wizery.com>
Tue, 1 Nov 2011 13:12:50 +0000 (15:12 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 8 Nov 2011 13:36:46 +0000 (15:36 +0200)
commit2f8e81ad42cee6e1503462105f540214b1fb3e54
tree0baab624e88cfe12fbe8a5cbf3652b06bb4934f5
parentfa5e13756ad5112842bd5e765d66b6c6074b74b7
wl12xx: clear wl->vif on remove_interface

wl->vif should be cleared on remove_interface()
(rather than on stop()) even when only a single
vif is supported, because during vif mode change
stop() might not get called (e.g. because of
monitor interface existence)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c