Message ID | 20220710042040.22456-1-yuanjilin@cdjrlc.com |
---|---|
State | New |
Headers | show |
Series | wifi: rtlwifi: fix repeated words in comments | expand |
Jilin Yuan <yuanjilin@cdjrlc.com> wrote: > Delete the redundant words 'in' and 'scan'. > > Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com> Patch applied to wireless-next.git, thanks. 4a7fb1c67ef4 wifi: rtlwifi: fix repeated words in comments
diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c index 99a1d91ced5a..a1cbedb346dd 100644 --- a/drivers/net/wireless/realtek/rtlwifi/core.c +++ b/drivers/net/wireless/realtek/rtlwifi/core.c @@ -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 diff --git a/drivers/net/wireless/realtek/rtlwifi/regd.c b/drivers/net/wireless/realtek/rtlwifi/regd.c index 4cf8face0bbd..0bc4afa4fda3 100644 --- a/drivers/net/wireless/realtek/rtlwifi/regd.c +++ b/drivers/net/wireless/realtek/rtlwifi/regd.c @@ -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)
Delete the redundant word 'in'. Delete the redundant word 'scan'. Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com> --- drivers/net/wireless/realtek/rtlwifi/core.c | 2 +- drivers/net/wireless/realtek/rtlwifi/regd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)