]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211: update outdated comment
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 28 Feb 2026 06:19:44 +0000 (14:19 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Mar 2026 09:27:25 +0000 (10:27 +0100)
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@morsemicro.com>
Suggested-by: Johannes Berg <johannes@sipsolutions.net>
Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260228061944.887-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c

index dd691ff549c3a0aea03c7b90e5d56a7725547074..3844c7fbb8a8ffd94e1101d59e2be75e3155ab7b 100644 (file)
@@ -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;