ath9k: Do not indicate RX_FLAG_DECRYPTED for unprotected frames
authorJouni Malinen <j@w1.fi>
Tue, 30 Mar 2010 06:37:36 +0000 (23:37 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:42 +0000 (14:46 -0400)
commit932d37c094b3c3410b4059f18f3b5c756bff059a
tree69ed4e5754337d8769e395f4cd9b39fcb1f64abc
parentfa83a2189870cdcd6fb4deeed391e0b988dc9a19
ath9k: Do not indicate RX_FLAG_DECRYPTED for unprotected frames

mac80211 skips drop_unencrypted checks if the driver/firmware has
already taken care of this. In case of ath9k, we must not indicate
that the frame was decrypted if no decryption was actually done.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c