linux/net/ieee80211/softmac
Daniel Drake d57336e3f2 [PATCH] softmac: make non-operational after being stopped
zd1211 with softmac and wpa_supplicant revealed an issue with softmac
and the use of workqueues. Some of the work functions actually
reschedule themselves, so this meant that there could still be
pending work after flush_scheduled_work() had been called during
ieee80211softmac_stop().

This patch introduces a "running" flag which is used to ensure that
rescheduling does not happen in this situation.

I also used this flag to ensure that softmac's hooks into ieee80211 are
non-operational once the stop operation has been started. This simply
makes softmac a little more robust, because I could crash it easily
by receiving frames in the short timeframe after shutting down softmac
and before turning off the ZD1211 radio. (ZD1211 is now fixed as well!)

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2006-05-05 16:55:22 -04:00
..
ieee80211softmac_assoc.c [PATCH] softmac: make non-operational after being stopped 2006-05-05 16:55:22 -04:00
ieee80211softmac_auth.c [PATCH] softmac: make non-operational after being stopped 2006-05-05 16:55:22 -04:00
ieee80211softmac_event.c [PATCH] softmac: report when scanning has finished 2006-04-19 17:25:40 -04:00
ieee80211softmac_io.c [PATCH] softmac: handle iw_mode properly 2006-04-19 17:25:39 -04:00
ieee80211softmac_module.c [PATCH] softmac: make non-operational after being stopped 2006-05-05 16:55:22 -04:00
ieee80211softmac_priv.h [PATCH] softmac: reduce scan dwell time 2006-03-27 14:04:09 -05:00
ieee80211softmac_scan.c [PATCH] softmac: make non-operational after being stopped 2006-05-05 16:55:22 -04:00
ieee80211softmac_wx.c [PATCH] softmac: fix SIOCSIWAP 2006-04-24 15:20:23 -04:00
Kconfig [PATCH] softmac uses Wiress Ext. 2006-04-19 17:25:37 -04:00
Makefile [PATCH] softmac: fix Makefiles 2006-03-22 22:16:51 -05:00