Commit Graph

2 Commits (51fa01f42c5424c24af3d3bb6a965a4dc9b3aacd)

Author SHA1 Message Date
Felix Fietkau 3b3bf4d24a 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
2010-11-05 18:05:50 +00:00
Felix Fietkau b4e2c09b46 ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00