]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: make WEP key restoring explicit
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Mar 2010 17:11:46 +0000 (10:11 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 9 Apr 2010 18:27:31 +0000 (11:27 -0700)
commit335348b1702cf78c9e79987a3d66e85a05c98b5c
tree92cb89d0b0da052129346aac9c22fbbe22dff633
parent678b385d07835c6c21371c12eaaa3fba4de05168
iwlwifi: make WEP key restoring explicit

The firmware clears default WEP keys on
transitions to !associated, so we need
to restore them just like stations. This
is rather implicit as part of sending a
station right now, which is odd. Make it
explicit instead and only for agn since
3945 doesn't use hw crypto for WEP.

Due to that, iwl_send_static_wepkey_cmd
is now only used in iwl-sta.c and can be
static.

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