X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b365f2b79a681a3afc3b487fd5fa659f83725bd7..fb9f9cdc813406041715d4c692f2b18cfd418cee:/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 164be5bac..af7633c59 100644 --- a/package/mac80211/patches/008-led_default.patch +++ b/package/mac80211/patches/008-led_default.patch @@ -27,7 +27,7 @@ # CONFIG_B43LEGACY_DEBUG=y CONFIG_B43LEGACY_DMA=y CONFIG_B43LEGACY_PIO=y -@@ -544,7 +544,7 @@ endif +@@ -559,7 +559,7 @@ endif # p54 CONFIG_P54_COMMON=m @@ -38,7 +38,7 @@ CONFIG_ATH_COMMON=m --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c -@@ -822,6 +822,7 @@ static void ath9k_led_brightness_work(st +@@ -863,6 +863,7 @@ static void ath9k_led_brightness_work(st } } @@ -46,7 +46,7 @@ static void ath9k_led_brightness(struct led_classdev *led_cdev, enum led_brightness brightness) { -@@ -833,6 +834,7 @@ static void ath9k_led_brightness(struct +@@ -874,6 +875,7 @@ static void ath9k_led_brightness(struct ieee80211_queue_delayed_work(priv->hw, &led->brightness_work, 0); } @@ -54,7 +54,7 @@ static void ath9k_led_stop_brightness(struct ath9k_htc_priv *priv) { -@@ -845,6 +847,7 @@ static void ath9k_led_stop_brightness(st +@@ -886,6 +888,7 @@ static void ath9k_led_stop_brightness(st static int ath9k_register_led(struct ath9k_htc_priv *priv, struct ath_led *led, char *trigger) { @@ -62,7 +62,7 @@ int ret; led->priv = priv; -@@ -862,14 +865,19 @@ static int ath9k_register_led(struct ath +@@ -903,14 +906,19 @@ static int ath9k_register_led(struct ath INIT_DELAYED_WORK(&led->brightness_work, ath9k_led_brightness_work); return ret;