]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: fix comment typo in monitor mode handling
authorChien Wong <m@xv97.com>
Thu, 30 Oct 2025 14:30:41 +0000 (22:30 +0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 16 Jan 2026 01:19:36 +0000 (17:19 -0800)
Correct a typo in the monitor mode comment where "it make" was mistakenly
used instead of "it doesn't make". The comment explains that the brief
period where monitor mode appears enabled before being removed is harmless
in practice.
Also, use more common phrase "in practice" instead of "in practise".

Signed-off-by: Chien Wong <m@xv97.com>
Link: https://patch.msgid.link/20251030143041.12027-1-m@xv97.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath12k/mac.c

index 3276fe443502f9c961bbb8374b9568034f23338a..668307f28038e31d6b811bc561f76a734ed1e820 100644 (file)
@@ -10640,7 +10640,7 @@ static int __ath11k_mac_register(struct ath11k *ar)
        if (!ab->hw_params.supports_monitor)
                /* There's a race between calling ieee80211_register_hw()
                 * and here where the monitor mode is enabled for a little
-                * while. But that time is so short and in practise it make
+                * while. But that time is so short and in practice it doesn't make
                 * a difference in real life.
                 */
                ar->hw->wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MONITOR);
index 2f4daee9e2f0e3bed52874eb5cd7f521cd678059..7ade71b5342d9550f73db43c65b57a7d35eede48 100644 (file)
@@ -14530,7 +14530,7 @@ static int ath12k_mac_hw_register(struct ath12k_hw *ah)
        if (is_monitor_disable)
                /* There's a race between calling ieee80211_register_hw()
                 * and here where the monitor mode is enabled for a little
-                * while. But that time is so short and in practise it make
+                * while. But that time is so short and in practice it doesn't make
                 * a difference in real life.
                 */
                wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MONITOR);