[PATCH] rtlwifi: Remove duplicate word and Fix typo

Zhang Jiaming posted 1 patch 3 years, 10 months ago
drivers/net/wireless/realtek/rtlwifi/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] rtlwifi: Remove duplicate word and Fix typo
Posted by Zhang Jiaming 3 years, 10 months ago
Remove duplicate 'in'.
Change 'entrys' to 'entries'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 drivers/net/wireless/realtek/rtlwifi/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c
index 99a1d91ced5a..98b7d4a40ea0 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
@@ -1702,7 +1702,7 @@ static int rtl_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
 		rtlpriv->sec.key_len[key_idx] = 0;
 		eth_zero_addr(mac_addr);
 		/*
-		 *mac80211 will delete entrys one by one,
+		 *mac80211 will delete entries one by one,
 		 *so don't use rtl_cam_reset_all_entry
 		 *or clear all entry here.
 		 */
-- 
2.25.1
Re: wifi: rtlwifi: Remove duplicate word and Fix typo
Posted by Kalle Valo 3 years, 9 months ago
Zhang Jiaming <jiaming@nfschina.com> wrote:

> Remove duplicate 'in'.
> Change 'entrys' to 'entries'.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>

Patch applied to wireless-next.git, thanks.

8a7a5c0251e1 wifi: rtlwifi: Remove duplicate word and Fix typo

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220622082524.21304-1-jiaming@nfschina.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches