kernel-ark/drivers/net/wireless/iwlwifi
Tomas Winkler 40a9a82991 iwlwifi: clean key table in iwl_clear_stations_table function
This patch cleans uCode key table bit map iwl_clear_stations_table
since all stations are cleared also the key table must be.

Since the keys are not removed properly on suspend by mac80211
this may result in exhausting key table on resume leading
to memory corruption during removal

This patch also fixes a memory corruption problem reported in
http://marc.info/?l=linux-wireless&m=122641417231586&w=2 and tracked in
http://bugzilla.kernel.org/show_bug.cgi?id=12040.

When the key is removed a second time the offset is set to 255 - this
index is not valid for the ucode_key_table and corrupts the eeprom pointer
(which is 255 bits from ucode_key_table).

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Reported-by: Carlos R. Mafra <crmafra2@gmail.com>
Reported-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:18:34 -05:00
..
iwl3945-base.c mac80211: remove ieee80211_notify_mac 2008-11-18 17:26:26 -05:00
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h iwlwifi: remove rfkill warning from iwl-io 2008-09-08 14:23:18 -04:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
iwl-3945-rs.h mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
iwl-3945.c mac80211: use nl80211 interface types 2008-09-15 16:48:23 -04:00
iwl-3945.h mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
iwl-4965-hw.h iwlwifi: cleanup PCI register handling 2008-09-08 14:23:19 -04:00
iwl-4965.c iwlwifi: fix compile warning 2008-09-11 15:53:31 -04:00
iwl-5000-hw.h iwlwifi: generic init calibrations framework 2008-09-08 14:23:18 -04:00
iwl-5000.c iwlwifi: fix ct kill configuration for 5350 2008-10-14 20:47:30 -04:00
iwl-agn-rs.c iwlwifi: fix compilation warning when CONFIG_IWLWIFI_DEBUG is not set. 2008-10-14 20:46:26 -04:00
iwl-agn-rs.h iwlwifi: Added support for 3 antennas 2008-09-11 15:53:39 -04:00
iwl-agn.c iwlagn: fix DMA sync 2008-11-25 16:13:08 -05:00
iwl-calib.c iwlwifi: use the results from disconnected antenna algorithm 2008-09-11 15:53:31 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: fix host command header according the HW spec 2008-09-08 14:23:20 -04:00
iwl-core.c iwlwifi: clean key table in iwl_clear_stations_table function 2008-12-05 09:18:34 -05:00
iwl-core.h iwlwifi: remove STATUS_CONF_PENDING in scanning 2008-10-06 18:14:58 -04:00
iwl-csr.h iwlwifi: refactor rx register initialization 2008-09-30 14:07:22 -04:00
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlagn: fix RX skb alignment 2008-11-18 17:26:26 -05:00
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h iwlwifi: refactor rx register initialization 2008-09-30 14:07:22 -04:00
iwl-hcmd.c
iwl-helpers.h
iwl-io.h iwlwifi: remove rfkill warning from iwl-io 2008-09-08 14:23:18 -04:00
iwl-led.c
iwl-led.h
iwl-power.c mac80211: use nl80211 interface types 2008-09-15 16:48:23 -04:00
iwl-power.h iwlwifi: remove uneeded declarations 2008-09-11 15:53:31 -04:00
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c iwlagn: fix RX skb alignment 2008-11-18 17:26:26 -05:00
iwl-scan.c iwlwifi: clear scanning bits upon failure 2008-11-06 16:37:08 -05:00
iwl-spectrum.h
iwl-sta.c iwlwifi: clean key table in iwl_clear_stations_table function 2008-12-05 09:18:34 -05:00
iwl-sta.h
iwl-tx.c iwlagn: downgrade BUG_ON in interrupt 2008-09-24 16:18:04 -04:00
Kconfig
Makefile