diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2008-12-18 07:33:00 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-19 15:23:53 -0500 |
commit | be2864cfff2fe4b599b46f03cce1e7689e05c60c (patch) | |
tree | 2d25940ee9e8af06be7f903c8265722d81b07148 /drivers/ieee1394 | |
parent | ea6121328885640c137b0a8830f67ca6c386a24a (diff) |
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/ieee1394')
0 files changed, 0 insertions, 0 deletions