aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-11 15:02:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-11 15:02:47 +0000
commit9f5dba18e9a1a3716dd805702195521d32e385ca (patch)
treebff917861075b930a7cc3b520f0371ecdcddcdc8 /package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
parent61cd5ce994701218a033578d2174e4791c146771 (diff)
downloadupstream-9f5dba18e9a1a3716dd805702195521d32e385ca.tar.gz
upstream-9f5dba18e9a1a3716dd805702195521d32e385ca.tar.bz2
upstream-9f5dba18e9a1a3716dd805702195521d32e385ca.zip
mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net> Also update mt76 to update for API changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch')
-rw-r--r--package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
index 150e008560..8003f86468 100644
--- a/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
+++ b/package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
-@@ -4824,6 +4824,21 @@ struct ath10k_vif *ath10k_get_arvif(stru
+@@ -5416,6 +5416,21 @@ struct ath10k_vif *ath10k_get_arvif(stru
return arvif_iter.arvif;
}
@@ -21,10 +21,10 @@
+
int ath10k_mac_register(struct ath10k *ar)
{
- struct ieee80211_supported_band *band;
-@@ -4965,6 +4980,12 @@ int ath10k_mac_register(struct ath10k *a
- goto err_free;
- }
+ static const u32 cipher_suites[] = {
+@@ -5590,6 +5605,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
+ ieee80211_create_tpt_led_trigger(ar->hw,