From: Felix Fietkau Date: Thu, 13 Jan 2011 23:06:27 +0000 (+0100) Subject: ath9k_hw: partially revert "fix dma descriptor rx error bit parsing" X-Git-Tag: v2.6.39-rc1~468^2~448^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=115dad7a7f42e68840392767323ceb9306dbdb36;p=pandora-kernel.git ath9k_hw: partially revert "fix dma descriptor rx error bit parsing" The rx error bit parsing was changed to consider PHY errors and various decryption errors separately. While correct according to the documentation, this is causing spurious decryption error reports in some situations. Fix this by restoring the original order of the checks in those places, where the errors are meant to be mutually exclusive. If a CRC error is reported, then MIC failure and decryption errors are irrelevant, and a PHY error is unlikely. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed