mac80211: Fix behavior of ieee80211_open and ieee80211_close
authorMichael Wu <flamingice@sourmilk.net>
Wed, 28 Nov 2007 06:57:08 +0000 (01:57 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Nov 2007 23:08:47 +0000 (18:08 -0500)
commit8b393f1dc76acbe65a97a4e51f8144f4a65fa1c9
treeff1466c1fe5ebd700cc06bde1512900ffcbf5be7
parent01e1f045e65b683fe7203b1e16a915bbb94c15fe
mac80211: Fix behavior of ieee80211_open and ieee80211_close

This patch fixes:
- Incorrect calls to ieee80211_hw_config when the radiotap flag is set.
- Failure to actually unset the radiotap flag when all monitors are down.
- Failure to call ieee80211_hw_config after successful interface start.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c