aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/310-ath9k_gpio_settings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/310-ath9k_gpio_settings.patch')
-rw-r--r--package/mac80211/patches/310-ath9k_gpio_settings.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/310-ath9k_gpio_settings.patch b/package/mac80211/patches/310-ath9k_gpio_settings.patch
index 67111cc2cb..f3c8db3f66 100644
--- a/package/mac80211/patches/310-ath9k_gpio_settings.patch
+++ b/package/mac80211/patches/310-ath9k_gpio_settings.patch
@@ -36,7 +36,7 @@
+ int i;
+
+ for (i = 0; gpio_mask; i++, gpio_mask >>= 1) {
-+ if (!(ah->gpio_mask & 1))
++ if (!(gpio_mask & 1))
+ continue;
+
+ ath9k_hw_cfg_output(ah, i, AR_GPIO_OUTPUT_MUX_AS_OUTPUT);