summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-10-24 21:12:13 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-10-25 11:04:45 +0200
commitcfbb0d90a7abb289edc91833d0905931f8805f12 (patch)
tree5bdf986177e4800adf4dd1766fac1f2f673c57d6 /include
parent0bfe649fbb1337400065fa47679b381b2ac845f0 (diff)
mac80211: don't compare TKIP TX MIC key in reinstall prevention
For the reinstall prevention, the code I had added compares the whole key. It turns out though that iwlwifi firmware doesn't provide the TKIP TX MIC key as it's not needed in client mode, and thus the comparison will always return false. For client mode, thus always zero out the TX MIC key part before doing the comparison in order to avoid accepting the reinstall of the key with identical encryption and RX MIC key, but not the same TX MIC key (since the supplicant provides the real one.) Fixes: fdf7cb4185b6 ("mac80211: accept key reinstall without changing anything") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions