mac80211_hwsim: Make sure beacon_timer gets deleted
authorJouni Malinen <j@w1.fi>
Thu, 30 Oct 2008 14:59:25 +0000 (16:59 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Nov 2008 20:17:40 +0000 (15:17 -0500)
commitab1ef980504ca7f17b675b3a53a88956f800fce3
tree2940be7dafe8169da1a4a82713d11d2d6b062a67
parent318884875bdddca663ecc373c813cf8e117d9e43
mac80211_hwsim: Make sure beacon_timer gets deleted

It was possible to trigger a kernel panic because beacon_timer may not
have been deleted in all cases when the kernel module was removed while
hostapd was still running.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c