Files
openwrt-R7800-nss/package/kernel/mac80211/patches/subsys/991-silence-kernel-warning-on-ath10k-wave2-devices.patch
SqTER-PL c31d842954 Hide another noise in the log.
This change hides an unnecessary error that appears when qca-nss acceleration is enabled.
```
[41893.868166] phy1-ap0: NSS TX failed with error: NSS_TX_FAILURE_TOO_SHORT
[42192.779516] phy1-ap0: NSS TX failed with error: NSS_TX_FAILURE_TOO_SHORT
```
2025-08-04 18:52:30 +02:00

25 lines
766 B
Diff

--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -269,7 +269,7 @@ void ieee80211_hw_conf_init(struct ieee8
ctx ? &ctx->conf : NULL);
}
- WARN_ON(drv_config(local, changed));
+ drv_config(local, changed);
}
int ieee80211_emulate_add_chanctx(struct ieee80211_hw *hw,
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index f6f060c..3bda31a 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2645,7 +2645,7 @@ static void netif_rx_nss(struct ieee80211_rx_data *rx,
skb_push(skb, ETH_HLEN);
ret = nss_virt_if_tx_buf(sdata->nssctx, skb);
if (ret) {
- if (net_ratelimit()) {
+ if (net_ratelimit() && ret != NSS_TX_FAILURE_TOO_SHORT) {
sdata_err(sdata, "NSS TX failed with error: %s\n",
nss_tx_status_str(ret));
}