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);