]> 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)
commit6c4c2e787c033d4d7ea795cde7ecccdf36de6fb7
treeee35397656fcda9e5f8feb8330d70b108b33c602
parent62cbd3decc0a706e3edf9ca7726598871d8936aa
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