iwlwifi: clean key table in iwl_clear_stations_table
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 28 Jan 2009 17:38:30 +0000 (09:38 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Feb 2009 21:11:42 +0000 (16:11 -0500)
commit5e46882e2ecacd2ebd1bfba3caaa4a25ffbcb94d
treea07808bf3f9631f8a504e08ad562fd7797b20ba2
parent55128bc23e9ab44e97f81f6cd349035230ee59a6
iwlwifi: clean key table in iwl_clear_stations_table

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

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-sta.c