diff mbox series

rtlwifi: Remove duplicate word and Fix typo

Message ID 20220622082524.21304-1-jiaming@nfschina.com
State New
Headers show
Series rtlwifi: Remove duplicate word and Fix typo | expand

Commit Message

Zhang Jiaming June 22, 2022, 8:25 a.m. UTC
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(-)

Comments

Kalle Valo July 27, 2022, 11:06 a.m. UTC | #1
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
diff mbox series

Patch

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.
 		 */