X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F540-ath9k_extra_leds.patch;h=86dc518564836b0b1f26141a9460ddf077262bd2;hb=adcd2dbc79b5a648d7b6c328a94f731c479c79b5;hp=2dfc1ed856ca0c9d5bb401ec8672b77424f29985;hpb=b01eb369ce4b236f214c74dc7a30f65474ddf8d3;p=openwrt.git diff --git a/package/mac80211/patches/540-ath9k_extra_leds.patch b/package/mac80211/patches/540-ath9k_extra_leds.patch index 2dfc1ed856..86dc518564 100644 --- a/package/mac80211/patches/540-ath9k_extra_leds.patch +++ b/package/mac80211/patches/540-ath9k_extra_leds.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h -@@ -528,6 +528,9 @@ static inline void ath9k_btcoex_stop_gen +@@ -538,6 +538,9 @@ struct ath9k_wow_pattern { #ifdef CONFIG_MAC80211_LEDS void ath_init_leds(struct ath_softc *sc); void ath_deinit_leds(struct ath_softc *sc); @@ -10,7 +10,7 @@ #else static inline void ath_init_leds(struct ath_softc *sc) { -@@ -645,6 +648,13 @@ struct ath9k_vif_iter_data { +@@ -655,6 +658,13 @@ struct ath9k_vif_iter_data { int nadhocs; /* number of adhoc vifs */ }; @@ -24,7 +24,7 @@ struct ath_softc { struct ieee80211_hw *hw; struct device *dev; -@@ -686,9 +696,8 @@ struct ath_softc { +@@ -696,9 +706,8 @@ struct ath_softc { struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS]; #ifdef CONFIG_MAC80211_LEDS @@ -171,7 +171,7 @@ --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -792,7 +792,7 @@ int ath9k_init_device(u16 devid, struct +@@ -811,7 +811,7 @@ int ath9k_init_device(u16 devid, struct #ifdef CONFIG_MAC80211_LEDS /* must be initialized before ieee80211_register_hw */ @@ -244,7 +244,7 @@ #ifdef CONFIG_ATH9K_MAC_DEBUG void ath9k_debug_samp_bb_mac(struct ath_softc *sc) -@@ -1680,6 +1735,11 @@ int ath9k_init_debug(struct ath_hw *ah) +@@ -1688,6 +1743,11 @@ int ath9k_init_debug(struct ath_hw *ah) &fops_samps); #endif