[PATCH v2] wifi: mac80211: update outdated comment
From: Kexin Sun
Date: Sat Feb 28 2026 - 01:21:17 EST
The function ieee80211_start_scan() was refactored and replaced by
__ieee80211_start_scan() in commit f3b85252f081 ("mac80211: fix scan
races and rework scanning"). Update the comment in
ieee80211_tx_h_check_assoc() accordingly.
Additionally, remove the broken gmane.org link in the comment.
Suggested-by: Lachlan Hodges <lachlan.hodges@xxxxxxxxxxxxxx>
Suggested-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@xxxxxxxxxxxxxxxx>
---
v2:
- Removed the dead gmane.org link from the comment as suggested by
Lachlan Hodges <lachlan.hodges@xxxxxxxxxxxxxx>
and Johannes Berg <johannes@xxxxxxxxxxxxxxxx>.
net/mac80211/tx.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 8cdbd417d7be..6dbe17f7aa74 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -287,10 +287,7 @@ ieee80211_tx_h_check_assoc(struct ieee80211_tx_data *tx)
* active scan) are allowed, all other frames should not be
* sent and we should not get here, but if we do
* nonetheless, drop them to avoid sending them
- * off-channel. See the link below and
- * ieee80211_start_scan() for more.
- *
- * http://article.gmane.org/gmane.linux.kernel.wireless.general/30089
+ * off-channel. See __ieee80211_start_scan() for more.
*/
return TX_DROP;
--
2.25.1