summaryrefslogtreecommitdiff
path: root/net-wireless/compat-wireless/files/led-oops.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/compat-wireless/files/led-oops.patch')
-rw-r--r--net-wireless/compat-wireless/files/led-oops.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-wireless/compat-wireless/files/led-oops.patch b/net-wireless/compat-wireless/files/led-oops.patch
new file mode 100644
index 00000000..c5b9ae6e
--- /dev/null
+++ b/net-wireless/compat-wireless/files/led-oops.patch
@@ -0,0 +1,22 @@
+Index: wireless-testing/drivers/net/wireless/rtl818x/rtl8187_leds.c
+===================================================================
+--- wireless-testing.orig/drivers/net/wireless/rtl818x/rtl8187_leds.c
++++ wireless-testing/drivers/net/wireless/rtl818x/rtl8187_leds.c
+@@ -210,10 +210,10 @@ void rtl8187_leds_exit(struct ieee80211_
+
+ /* turn the LED off before exiting */
+ ieee80211_queue_delayed_work(dev, &priv->led_off, 0);
+- cancel_delayed_work_sync(&priv->led_off);
+- cancel_delayed_work_sync(&priv->led_on);
+ rtl8187_unregister_led(&priv->led_rx);
+ rtl8187_unregister_led(&priv->led_tx);
++ cancel_delayed_work_sync(&priv->led_off);
++ cancel_delayed_work_sync(&priv->led_on);
+ }
+ #endif /* def CONFIG_RTL8187_LED */
+
+
+
+
+
+