summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-02-17 21:47:14 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-02-21 23:45:26 +0400
commit5dcbf480473f6c3f06ad2426b7517038a2a18911 (patch)
tree66d2cbefee018ff46d499e0aeab573aa94558353 /net/mac80211
parent7be081539e540517d5e1fcbf96b8080074afbf08 (diff)
downloadlinux-5dcbf480473f6c3f06ad2426b7517038a2a18911.tar.xz
iwlwifi: fix key removal
When trying to remove a key, we always send key flags just setting the key type, not including the multicast flag and the key ID. As a result, whenever any key was removed, the unicast key 0 would be removed, causing a complete connection loss after the second rekey (the first doesn't cause a key removal). Fix the key removal code to include the key ID and multicast flag, thus removing the correct key. Cc: stable@vger.kernel.org Reported-by: Alexander Schnaidt <alex.schnaidt@googlemail.com> Tested-by: Alexander Schnaidt <alex.schnaidt@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions