X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/47aae06f26e9b89723a5467d05dd6970ee2085cb..75afa914774d7b53cd5948d0c7a9b33cd708b32b:/package/mac80211/patches/008-led_default.patch diff --git a/package/mac80211/patches/008-led_default.patch b/package/mac80211/patches/008-led_default.patch index 79868f7a7..5a2105bbd 100644 --- a/package/mac80211/patches/008-led_default.patch +++ b/package/mac80211/patches/008-led_default.patch @@ -81,7 +81,7 @@ void ath_deinit_leds(struct ath_softc *sc) --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c -@@ -871,6 +871,7 @@ static void ath9k_led_brightness_work(st +@@ -860,6 +860,7 @@ static void ath9k_led_brightness_work(st } } @@ -89,7 +89,7 @@ static void ath9k_led_brightness(struct led_classdev *led_cdev, enum led_brightness brightness) { -@@ -882,6 +883,7 @@ static void ath9k_led_brightness(struct +@@ -871,6 +872,7 @@ static void ath9k_led_brightness(struct ieee80211_queue_delayed_work(priv->hw, &led->brightness_work, 0); } @@ -97,7 +97,7 @@ static void ath9k_led_stop_brightness(struct ath9k_htc_priv *priv) { -@@ -894,6 +896,7 @@ static void ath9k_led_stop_brightness(st +@@ -883,6 +885,7 @@ static void ath9k_led_stop_brightness(st static int ath9k_register_led(struct ath9k_htc_priv *priv, struct ath_led *led, char *trigger) { @@ -105,7 +105,7 @@ int ret; led->priv = priv; -@@ -911,14 +914,19 @@ static int ath9k_register_led(struct ath +@@ -900,14 +903,19 @@ static int ath9k_register_led(struct ath INIT_DELAYED_WORK(&led->brightness_work, ath9k_led_brightness_work); return ret;