linux/drivers/net/wireless/iwlwifi
Reinette Chatre 299f546208 iwlwifi: update key flags at time key is set
We need to be symmetrical in what is done when key is set and cleared.
This is important wrt the key flags as they are used during key
clearing and if they are not set when the key is set the key cannot be
cleared completely.

This addresses the many occurences of the WARN found in
iwl_set_tkip_dynamic_key_info() and tracked in
http://www.kerneloops.org/searchweek.php?search=iwl_set_dynamic_key

If calling iwl_set_tkip_dynamic_key_info()/iwl_remove_dynamic_key()
pair a few times in a row will cause that we run out of key space.
This is because the index stored in the key flags is used by
iwl_remove_dynamic_key() to decide if it should remove the key.
Unfortunately the key flags, and hence the key index is currently only
set at the time the key is written to the device (in
iwl_update_tkip_key()) and _not_ in iwl_set_tkip_dynamic_key_info().
Fix this by setting flags in iwl_set_tkip_dynamic_key_info().

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-04 16:22:10 -04:00
..
Kconfig iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
Makefile iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-1000.c iwlwifi: correct device name for 1000 series 2009-03-16 18:09:36 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwl3945: set TFD_QUEUE_MAX to correct value 2009-03-27 20:12:58 -04:00
iwl-3945-led.c iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-rs.c iwl3945: control rate decrease 2009-03-27 20:12:59 -04:00
iwl-3945.c iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
iwl-3945.h iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
iwl-4965-hw.h
iwl-4965.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-5000-hw.h
iwl-5000.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-6000-hw.h
iwl-6000.c
iwl-agn-rs.c iwlwifi: verify the antenna selection when receive fixed rate debugfs 2009-03-16 18:09:45 -04:00
iwl-agn-rs.h iwlwifi: HT performance improvement changes 2009-03-16 18:09:44 -04:00
iwl-agn.c iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
iwl-calib.c
iwl-calib.h
iwl-commands.h
iwl-core.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-core.h iwl3945: use iwl_cmd_queue_free 2009-03-27 20:12:59 -04:00
iwl-csr.h iwlwifi: fix EEPROM validation mask to include OTP only devices 2009-04-21 16:43:30 -04:00
iwl-debug.h
iwl-debugfs.c iwlwifi: show current driver status in user readable format 2009-03-27 20:13:20 -04:00
iwl-dev.h iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-io.h iwlwifi: print contents of control register when error occurs 2009-03-16 18:09:47 -04:00
iwl-led.c
iwl-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-power.c iwlcore: dont commit power command if interface is not up 2009-03-27 20:12:58 -04:00
iwl-power.h
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c
iwl-scan.c iwlwifi: notify on scan completion even when shutting down 2009-04-28 15:59:48 -04:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c iwlwifi: update key flags at time key is set 2009-05-04 16:22:10 -04:00
iwl-sta.h iwl3945: unify set key flow with iwlwifi 2009-03-05 14:39:36 -05:00
iwl-tx.c iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
iwl3945-base.c iwlwifi: remove EXPORT_SYMBOL for static symbol 2009-05-04 16:22:08 -04:00