mwifiex: abort cac in del_station() handler
authorXinming Hu <huxm@marvell.com>
Mon, 14 Dec 2015 12:15:07 +0000 (04:15 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 14:57:58 +0000 (16:57 +0200)
commitabffd274a243c5e5e72a39148c9dd36b26f7c6b7
tree0a983149b07ea1389804ab31e98c6ad6e2b7302b
parentb0922ffa706be2aa556f19fa6aa0fa983ec19bfa
mwifiex: abort cac in del_station() handler

When hostapd is killed with Ctrl+C before cac get completed,
stop_ap handler will not be called, thus priv->wdev.cac_started
flag remains set.
Hostapd restart attempt will be failed in this case with device
busy error. This patch aborts cac in del_station handler to
handle this corner case.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c