OSDN Git Service

wifi: rtlwifi: fix repeated words in comments
authorJilin Yuan <yuanjilin@cdjrlc.com>
Sun, 10 Jul 2022 04:20:40 +0000 (12:20 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 18 Jul 2022 12:11:09 +0000 (15:11 +0300)
Delete the redundant words 'in' and 'scan'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220710042040.22456-1-yuanjilin@cdjrlc.com
drivers/net/wireless/realtek/rtlwifi/core.c
drivers/net/wireless/realtek/rtlwifi/regd.c

index 519b264..837febe 100644 (file)
@@ -671,7 +671,7 @@ static int rtl_op_config(struct ieee80211_hw *hw, u32 changed)
 
                /*
                 *because we should back channel to
-                *current_network.chan in in scanning,
+                *current_network.chan in scanning,
                 *So if set_chan == current_network.chan
                 *we should set it.
                 *because mac80211 tell us wrong bw40
index 4cf8fac..0bc4afa 100644 (file)
@@ -178,7 +178,7 @@ static void _rtl_reg_apply_beaconing_flags(struct wiphy *wiphy,
        }
 }
 
-/* Allows active scan scan on Ch 12 and 13 */
+/* Allows active scan on Ch 12 and 13 */
 static void _rtl_reg_apply_active_scan_flags(struct wiphy *wiphy,
                                             enum nl80211_reg_initiator
                                             initiator)