]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix warning when set WEP key
authorMohamed Abbas <mohamed.abbas@intel.com>
Wed, 11 Mar 2009 18:17:59 +0000 (11:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:47 +0000 (18:09 -0400)
commitf9a66f90efd6a46123b5d69e011d1f84023c3708
tree2eddd37d83a30c3546ae9cdef110cec4f670b478
parentbb626882eb11a49aad3964e5b7bdba03981ed08f
iwlagn: fix warning when set WEP key

iwl_clear_station_table will be called every time rxon called.
In this function ucode_key_table is set to 0 even though a static
WEP security is set. This will cause in many warning and might be
an issue if dynamic WEP is set. This patch make sure we keep track
of all existing static WEP when this function is called.

Signed-off-by: Mohamed Abbas <mohamed.abbas@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