1
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
..
iwl3945-base.c iwlwifi: remove EXPORT_SYMBOL for static symbol 2009-05-04 16:22:08 -04:00
iwl-1000.c
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
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
iwl-agn-rs.h
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
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
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
iwl-led.c
iwl-led.h
iwl-power.c
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
iwl-tx.c iwlwifi: DMA fixes 2009-04-21 16:43:34 -04:00
Kconfig
Makefile