projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: remove a WARN_ON that causes compile errors on 2.6.32
[openwrt.git]
/
package
/
mac80211
/
patches
/
401-ath9k-dont-register-leds-on-ar9100.patch
diff --git
a/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
b/package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
index
2229902
..
d60be76
100644
(file)
--- a/
package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
+++ b/
package/mac80211/patches/401-ath9k-dont-register-leds-on-ar9100.patch
@@
-7,6
+7,6
@@
+ if (AR_SREV_9100(sc->sc_ah))
+ return;
+
+ if (AR_SREV_9100(sc->sc_ah))
+ return;
+
- if (
AR_SREV_9287(sc->sc_ah))
- sc->sc_ah->led_pin = ATH_LED_PIN_9287;
- else if (AR_SREV_9485(sc->sc_ah))
+ if (
sc->sc_ah->led_pin < 0) {
+ if (AR_SREV_9287(sc->sc_ah))
+ sc->sc_ah->led_pin = ATH_LED_PIN_9287;
This page took
0.043283 seconds
and
4
git commands to generate.