iwlwifi-2.6: Cleans up set_key flow
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 19 Mar 2008 23:41:41 +0000 (16:41 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:52 +0000 (16:41 -0400)
commitdeb09c435e3f947f8b2c9d5df6a9c0a5b472b125
tree0c51f22a35512b3f64ec96fd137265a82b71547a
parentbf85ea4fbecab278c63f02fd102b33cc6cb21eb9
iwlwifi-2.6: Cleans up set_key flow

This patch cleans up the set_key flow. Rxon with hw encryption bit set is
not sent upon each call to set_key. Separation is made between global key
(WEP) and dynamic key (TKIP + CCMP and WEP in some cases).

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-commands.h
drivers/net/wireless/iwlwifi/iwl4965-base.c