wlcore: clear roc_vif on iface removal
authorArik Nemtsov <arik@wizery.com>
Tue, 27 Nov 2012 06:44:48 +0000 (08:44 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 4 Dec 2012 15:05:52 +0000 (17:05 +0200)
commit5d979f35179c365a6455302bd5a1fa0063a4065e
tree6249e1f416cc6c97008c484eebb07bef2ab25905
parent2718bf409937655f9b0bbc174faee3ac2ecf1062
wlcore: clear roc_vif on iface removal

When removing an interface currently performing a ROC operation, clear
the current ROC state. This is useful especially during recovery and
keeps mac80211 in sync to our state.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c