]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix TKIP key updating
authorBeni Lev <beni.lev@intel.com>
Wed, 6 Feb 2013 15:22:18 +0000 (17:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 10:56:12 +0000 (11:56 +0100)
commit4f2d1ef6d02744c2ceab842f1e3bd78608709590
treeee35397656fcda9e5f8feb8330d70b108b33c602
parent541eec4f2351aa65f9b9284e37e793c2e7a961a2
iwlwifi: mvm: fix TKIP key updating

When a TKIP key is updated with a station pointer that is NULL it is
a GTK, so it should use the AP's station ID. Fix the code to do that.

Signed-off-by: Beni Lev <beni.lev@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/sta.c