iwlwifi: Fix TKIP update key and get_free_ucode_key
commit77bab6024c69de781464c6ad094db6996d996938
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 15 Apr 2008 23:01:44 +0000 (15 16:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 20:00:01 +0000 (16 16:00 -0400)
tree0fde332619fb03b548aec9ed82ef4c7a56e9e28b
parent7e8c519ecbd44cbe017f1749eb1f0f87d86d6ea2
iwlwifi: Fix TKIP update key and get_free_ucode_key

This patch fixes a bug in update_tkip_key: only one key needs to be
allocated in uCode, every time it is updated, the old one will be
overwritten

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-sta.c
drivers/net/wireless/iwlwifi/iwl4965-base.c