wlcore: cancel channel switch work on interface removal
authorArik Nemtsov <arik@wizery.com>
Sun, 12 May 2013 09:35:29 +0000 (12:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 17 Jun 2013 09:14:29 +0000 (12:14 +0300)
commitc838478b7b78d6e212547cd2243031080f2cee45
treedecca80d57f5177e93f9adf4bc097c12b510a065
parentba1e6eb96d73eb1b2be6d67a55a799477b14a353
wlcore: cancel channel switch work on interface removal

Otherwise, if the work is pending, we might get
a bad dereference after the interface is removed.

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