kernel_optimize_test/net/mac80211
Johannes Berg 028e8da072 mac80211: fix managed mode channel flags handling
If ieee80211_prep_channel() decides that HT should be
disabled (because the HT IEs from the AP were invalid)
it will set the IEEE80211_STA_DISABLE_HT to not send
HT capabilities to the AP when associating. If this
happens during authentication, the flag will be lost
and we send HT frames, even if the channel config was
set up for non-HT. This can lead to issues.

Fix this by always resetting the ifmgd flags to zero
when the channel context is released so that the flag
resetting in ieee80211_mgd_assoc() isn't necessary.

To make the code a bit easier move the call to release
the channel in ieee80211_set_disassoc() to the end of
the function together with the flag resetting (which
needs to be at the end to avoid timers setting flags.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-11-26 12:37:38 +01:00
..
aes_ccm.c mac80211: use AES_BLOCK_SIZE 2011-07-08 11:11:24 -04:00
aes_ccm.h mac80211: use AES_BLOCK_SIZE 2011-07-08 11:11:24 -04:00
aes_cmac.c mac80211: include export.h in aes_cmac 2012-11-07 18:01:54 +01:00
aes_cmac.h mac80211: fix CMAC races 2011-07-08 11:11:20 -04:00
agg-rx.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
agg-tx.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
cfg.c mac80211: make remain_on_channel() op pass vif param 2012-11-19 16:20:37 +01:00
cfg.h
chan.c mac80211: handle TX power per virtual interface 2012-10-30 09:11:34 +01:00
debug.h mac80211: trace debug messages 2012-06-24 11:33:18 +02:00
debugfs_key.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
debugfs_key.h
debugfs_netdev.c mac80211: add debugfs file for HW queues 2012-11-09 17:26:41 +01:00
debugfs_netdev.h
debugfs_sta.c mac80211: Add debugfs callbacks for station addition/removal 2012-11-21 11:46:25 +01:00
debugfs_sta.h
debugfs.c mac80211: make reset debugfs depend on CONFIG_PM 2012-09-19 08:20:24 +02:00
debugfs.h mac80211: use __printf attribute in debugfs 2012-10-18 09:01:57 +02:00
driver-ops.h mac80211: Add debugfs callbacks for station addition/removal 2012-11-21 11:46:25 +01:00
event.c
ht.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
ibss.c mac80211: in ADHOC print debug message for every Auth message 2012-11-26 11:32:42 +01:00
ieee80211_i.h mac80211: rename IEEE80211_STA_DISABLE_11N to HT 2012-11-23 08:43:26 +01:00
iface.c mac80211: handle TX power per virtual interface 2012-10-30 09:11:34 +01:00
Kconfig mac80211: fix copy-paste typo in Kconfig 2012-10-18 09:10:28 +02:00
key.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
key.h mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
led.c leds: Rename led_brightness_set() to led_set_brightness() 2012-07-24 07:52:34 +08:00
led.h
main.c mac80211: handle TX power per virtual interface 2012-10-30 09:11:34 +01:00
Makefile mac80211: VHT peer STA caps 2012-10-17 11:02:14 +02:00
mesh_hwmp.c mac80211: clean up mpath_move_to_queue() 2012-08-20 13:25:05 +02:00
mesh_pathtbl.c mac80211: clean up mpath_move_to_queue() 2012-08-20 13:25:05 +02:00
mesh_plink.c mac80211: remove mesh config macros from mesh_plink.c 2012-11-26 11:36:42 +01:00
mesh_sync.c mac80211: move Mesh Capability field definition to ieee80211.h 2012-11-26 11:35:21 +01:00
mesh.c mac80211: move Mesh Capability field definition to ieee80211.h 2012-11-26 11:35:21 +01:00
mesh.h mac80211: move Mesh Capability field definition to ieee80211.h 2012-11-26 11:35:21 +01:00
michael.c
michael.h
mlme.c mac80211: fix managed mode channel flags handling 2012-11-26 12:37:38 +01:00
offchannel.c mac80211: make remain_on_channel() op pass vif param 2012-11-19 16:20:37 +01:00
pm.c mac80211: fix channel context suspend/reconfig handling 2012-11-20 10:33:05 +01:00
rate.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
rate.h mac80211: use channel contexts 2012-10-17 11:02:09 +02:00
rc80211_minstrel_debugfs.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
rc80211_minstrel_ht_debugfs.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
rc80211_minstrel_ht.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2012-07-12 15:21:05 -04:00
rc80211_minstrel_ht.h
rc80211_minstrel.c mac80211: remove hw.conf.channel usage where possible 2012-04-13 14:32:50 -04:00
rc80211_minstrel.h minstrel_ht: fixed rate mode through debugfs 2011-06-01 15:12:29 -04:00
rc80211_pid_algo.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
rc80211_pid_debugfs.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
rc80211_pid.h Fix common misspellings 2011-03-31 11:26:23 -03:00
rx.c mac80211: in ADHOC don't update last_rx if sta is not authorized 2012-11-26 11:31:39 +01:00
scan.c cfg80211: use DS or HT operation IEs to determine BSS channel 2012-11-23 14:23:30 +01:00
spectmgmt.c mac80211: Remove unnecessary OOM logging messages 2011-09-13 15:45:02 -04:00
sta_info.c mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
sta_info.h mac80211: introduce IEEE80211_NUM_TIDS and use it 2012-11-19 15:44:00 +01:00
status.c mac80211: combine status/drop reporting 2012-10-30 09:33:23 +01:00
tkip.c mac80211: remove TKIP debug 2012-06-22 11:26:58 +02:00
tkip.h mac80211: fix TKIP races, make API easier to use 2011-07-08 11:11:19 -04:00
trace.c mac80211: trace debug messages 2012-06-24 11:33:18 +02:00
trace.h mac80211: make remain_on_channel() op pass vif param 2012-11-19 16:20:37 +01:00
tx.c mac80211: fix TX error path 2012-11-07 18:01:54 +01:00
util.c mac80211: fix channel context suspend/reconfig handling 2012-11-20 10:33:05 +01:00
vht.c mac80211: VHT peer STA caps 2012-10-17 11:02:14 +02:00
wep.c mac80211: fix network header location when adding encryption headers 2012-05-16 12:47:43 -04:00
wep.h mac80211: move RX WEP weak IV counting 2012-03-13 14:54:16 -04:00
wme.c mac80211: refactor ieee80211_set_qos_hdr 2012-11-26 11:36:02 +01:00
wme.h mac80211: save wmm_acm per sdata 2012-06-20 17:35:22 +02:00
wpa.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 2012-10-17 16:23:33 -04:00
wpa.h mac80211: fix tx->skb NULL pointer dereference 2012-01-16 15:01:16 -05:00