]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: remove key information during device restart
authorReinette Chatre <reinette.chatre@intel.com>
Mon, 21 Jun 2010 21:23:47 +0000 (14:23 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 2 Jul 2010 17:44:19 +0000 (10:44 -0700)
commit9a8e47ba834cfdb15195eb505596a48ffd0c033b
treed1d1f87a660957399ac2c270dea6e5cbb1fb6491
parente0b6d3cb8a2239d68d6fb7abe93b96d509183404
iwlwifi: remove key information during device restart

When there is a firmware error or the firmware is reloaded for some other
reason we currently clear all station information, including keys
associated with them. A problem is that we do not clear some other
information regarding keys that are not stored in the station structs.

The consequence of this is that when the device is reconfigured after the
firmware reload we can, among other things, run out of key indices.

This fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=16232
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2221

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-sta.h