From: Felix Fietkau Date: Sun, 5 Feb 2012 20:15:17 +0000 (+0100) Subject: ath9k: fix a WEP crypto related regression X-Git-Tag: v3.3-rc4~2^2~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f88373fa47f3ce6590fdfaa742d0ddacc2ae017f;p=pandora-kernel.git ath9k: fix a WEP crypto related regression commit b4a82a0 "ath9k_hw: fix interpretation of the rx KeyMiss flag" fixed the interpretation of the KeyMiss flag for keycache based lookups, however WEP encryption uses a static index, so KeyMiss is always asserted for it, even though frames are decrypted properly. Fix this by clearing the ATH9K_RXERR_KEYMISS flag if no keycache based lookup was performed. Signed-off-by: Felix Fietkau Cc: stable@vger.kernel.org Reported-by: Laurent Bonnans Reported-by: Jurica Vukadin Signed-off-by: John W. Linville --- Reading git-diff-tree failed