diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:41:37 +0200 |
commit | 5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch) | |
tree | 7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch | |
parent | 20a107748317091d1ac003f1cbb045928d07e684 (diff) |
Addeed the wi-fi modules
Diffstat (limited to 'net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch')
-rw-r--r-- | net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch b/net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch new file mode 100644 index 00000000..fbc8d159 --- /dev/null +++ b/net-wireless/compat-wireless/files/leds-disable-strict-3.6.6.patch @@ -0,0 +1,30 @@ +--- drivers/net/wireless/rt2x00/rt2x00leds.c ++++ drivers/net/wireless/rt2x00/rt2x00leds.c +@@ -29,6 +29,7 @@ + #include "rt2x00.h" + #include "rt2x00lib.h" + ++#ifdef CONFIG_RT2X00_LIB_LEDS + void rt2x00leds_led_quality(struct rt2x00_dev *rt2x00dev, int rssi) + { + struct rt2x00_led *led = &rt2x00dev->led_qual; +@@ -244,3 +245,4 @@ + if (rt2x00dev->led_qual.flags & LED_REGISTERED) + rt2x00leds_resume_led(&rt2x00dev->led_qual); + } ++#endif /* CONFIG_RT2X00_LIB_LEDS */ +--- net/mac80211/led.c ++++ net/mac80211/led.c +@@ -12,6 +12,7 @@ + #include <linux/export.h> + #include "led.h" + ++#ifdef CONFIG_MAC80211_LEDS + void ieee80211_led_rx(struct ieee80211_local *local) + { + if (unlikely(!local->rx_led)) +@@ -307,3 +308,4 @@ + else + ieee80211_start_tpt_led_trig(local); + } ++#endif /* CONFIG_MAC80211_LEDS */ |