projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: fix a compile error with debugging disabled (#8189)
[openwrt.git]
/
package
/
mac80211
/
patches
/
310-ath9k_gpio_settings.patch
diff --git
a/package/mac80211/patches/310-ath9k_gpio_settings.patch
b/package/mac80211/patches/310-ath9k_gpio_settings.patch
index 67111cc2cb28a05393bf990a42528c1234eed47c..f3c8db3f66a3205db804e0f38da04021db4ae237 100644
(file)
--- 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);