[openwrt/openwrt] mac80211: remove kcov bits from TWT backport patch

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 11 08:19:58 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/af9d31aacc286786a8765a44c2000d2eba02e61c

commit af9d31aacc286786a8765a44c2000d2eba02e61c
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Oct 11 16:40:20 2021 +0200

    mac80211: remove kcov bits from TWT backport patch
    
    Our backports version does not have support for kcov in mac80211
    Fixes build errors on some platforms
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch  | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/package/kernel/mac80211/patches/subsys/390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch b/package/kernel/mac80211/patches/subsys/390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch
index dbd98b96cc..cdee132f15 100644
--- a/package/kernel/mac80211/patches/subsys/390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch
+++ b/package/kernel/mac80211/patches/subsys/390-mac80211-introduce-individual-TWT-support-in-AP-mode.patch
@@ -164,18 +164,14 @@ Signed-off-by: Johannes Berg <johannes.berg at intel.com>
  		} else if (ieee80211_is_ext(mgmt->frame_control)) {
  			if (sdata->vif.type == NL80211_IFTYPE_STATION)
  				ieee80211_sta_rx_queued_ext(sdata, skb);
-@@ -1574,6 +1604,16 @@ static void ieee80211_iface_work(struct
+@@ -1574,6 +1604,12 @@ static void ieee80211_iface_work(struct
  		kfree_skb(skb);
  	}
  
 +	/* process status queue */
 +	while ((skb = skb_dequeue(&sdata->status_queue))) {
-+		kcov_remote_start_common(skb_get_kcov_handle(skb));
-+
 +		ieee80211_iface_process_status(sdata, skb);
 +		kfree_skb(skb);
-+
-+		kcov_remote_stop();
 +	}
 +
  	/* then other type-dependent work */



More information about the lede-commits mailing list