ath9k: fix ath9k_hw_apply_gpio_override so that it's effective
authorFelix Fietkau <nbd@openwrt.org>
Fri, 5 Nov 2010 18:05:50 +0000 (18:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 5 Nov 2010 18:05:50 +0000 (18:05 +0000)
commit4686b97337adc325d25571d8159c11e6ac43859a
tree1af9726f81570b34a7b0092213d867481d00c3f7
parent54d413811970ba41b5e59e3e790e84f7a802d5d5
ath9k: fix ath9k_hw_apply_gpio_override so that it's effective

I discovered another bug in the ath9k WNDR3700 quirk fix from r23822.
ath9k_hw_apply_gpio_override was testing the original value of gpio_mask
to determine which bits were appropriate, instead of testing the shifted
value. Because bit 0 is always clear in the original value, this
resulted in no calls to set the GPIOs, an improperly-configured radio,
and reduced RSSI on other systems listening to the radio.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23890
package/mac80211/patches/310-ath9k_gpio_settings.patch