sunxi: improve A20 Lime2 upload speed
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 930-ath10k_add_tpt_led_trigger.patch
index 281b4475ada3f4388292d930a9fd252b234ec0c5..6137a50bcfa02f7ec2eb9af48197b227a161d73f 100644 (file)
@@ -1,7 +1,7 @@
 --- a/drivers/net/wireless/ath/ath10k/mac.c
 +++ b/drivers/net/wireless/ath/ath10k/mac.c
-@@ -7141,6 +7141,21 @@ struct ath10k_vif *ath10k_get_arvif(stru
-       return arvif_iter.arvif;
+@@ -8007,6 +8007,21 @@ static int ath10k_mac_init_rd(struct ath
+       return 0;
  }
  
 +#ifdef CPTCFG_MAC80211_LEDS
  int ath10k_mac_register(struct ath10k *ar)
  {
        static const u32 cipher_suites[] = {
-@@ -7357,6 +7372,12 @@ int ath10k_mac_register(struct ath10k *a
+@@ -8244,6 +8259,12 @@ int ath10k_mac_register(struct ath10k *a
        ar->hw->wiphy->cipher_suites = cipher_suites;
        ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);
  
-+#if CPTCFG_MAC80211_LEDS
++#ifdef CPTCFG_MAC80211_LEDS
 +      ieee80211_create_tpt_led_trigger(ar->hw,
 +              IEEE80211_TPT_LEDTRIG_FL_RADIO, ath10k_tpt_blink,
 +              ARRAY_SIZE(ath10k_tpt_blink));