ath9k_hw: fix chain swap setting when setting rx chainmask to 5
authorFelix Fietkau <nbd@openwrt.org>
Sun, 20 Jan 2013 20:55:21 +0000 (21:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Jan 2013 19:33:44 +0000 (14:33 -0500)
commit24171dd92096fc370b195f3f6bdc0798855dc3f9
tree610956b216d18c0302af957ab23ce71fb32e5a44
parent4a8f199508d79ff8a7d1e22f47b912baaf225336
ath9k_hw: fix chain swap setting when setting rx chainmask to 5

Chain swapping should only be enabled when the EEPROM chainmask is set to 5,
regardless of what the runtime chainmask is.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c