summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorJouni Malinen2008-12-18 13:33:00 +0100
committerJohn W. Linville2008-12-19 21:23:53 +0100
commitbe2864cfff2fe4b599b46f03cce1e7689e05c60c (patch)
tree2d25940ee9e8af06be7f903c8265722d81b07148 /drivers/power
parentath9k: Fix key cache slot selection for splitmic (diff)
downloadkernel-qcow2-linux-be2864cfff2fe4b599b46f03cce1e7689e05c60c.tar.gz
kernel-qcow2-linux-be2864cfff2fe4b599b46f03cce1e7689e05c60c.tar.xz
kernel-qcow2-linux-be2864cfff2fe4b599b46f03cce1e7689e05c60c.zip
ath9k: Fixed RX decryption status reporting
The RX code in ath9k uses sc_keymap to figure out whether a default key was used. However, the default key entries in sc_keymap were always set and as such, frames could have been claimed to be decrypted by hardware when they were not. This can cause problems especially with TKIP since mac80211 is validating the Michael MIC in the frame and this will result in MIC failure and potentially TKIP countermeasures if the frame was not decrypted correctly. Change key cache slot allocation to mark only the keys that really have been used in sc_keymap to avoid the issue. The key cache slot selection routines are now internally avoiding the slots that may be needed for TKIP group keys. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions