]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:44:21 +0000 (06:44 -0700)
commitbea8bffc581dfbcac065bffafdcab96bb28bd1bb
tree966d902ef69abb8c3384aa5178a13789f7dc76f2
parentaa7640d05305a2cbdd93dcfcd3d7cd54e59a803f
ath9k_hw: fix chain swap setting when setting rx chainmask to 5

commit 959f049dfb62b517cbb3dd48ed2fb7d9c713ce16 upstream.

commit 24171dd92096fc370b195f3f6bdc0798855dc3f9 upstream.

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
[bwh: Backported to 3.2: keep the special case for AR_SREV_9462 here]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Jianguo Wu <wujianguo@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/ar9003_phy.c