[PATCH] wifi: p54: Fix comment typo

Subsystems: p54 wireless driver, the rest

STALE1429d LANDED

Landed in mainline as 3d784bade0fd on 2022-09-07.

3 messages, 3 authors, 2022-09-07 · open the first message on its own page

[PATCH] wifi: p54: Fix comment typo

From: Jason Wang <hidden>
Date: 2022-08-11 12:04:15

The double `to' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <redacted>
---
 drivers/net/wireless/intersil/p54/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/intersil/p54/main.c b/drivers/net/wireless/intersil/p54/main.c
index b925e327e091..e127453ab51a 100644
--- a/drivers/net/wireless/intersil/p54/main.c
+++ b/drivers/net/wireless/intersil/p54/main.c
@@ -635,7 +635,7 @@ static int p54_get_survey(struct ieee80211_hw *dev, int idx,
 				/*
 				 * hw/fw has not accumulated enough sample sets.
 				 * Wait for 100ms, this ought to be enough to
-				 * to get at least one non-null set of channel
+				 * get at least one non-null set of channel
 				 * usage statistics.
 				 */
 				msleep(100);
-- 
2.36.1

Re: [PATCH] wifi: p54: Fix comment typo

From: Christian Lamparter <hidden>
Date: 2022-08-12 07:50:28

On 11/08/2022 14:03, Jason Wang wrote:
The double `to' is duplicated in the comment, remove one.
Oh, there might be more errors... much more.

If you can, please aggregated spelling and grammar errors.

Acked-by: Christian Lamparter <redacted>
quoted hunk
Signed-off-by: Jason Wang <redacted>
---
  drivers/net/wireless/intersil/p54/main.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/intersil/p54/main.c b/drivers/net/wireless/intersil/p54/main.c
index b925e327e091..e127453ab51a 100644
--- a/drivers/net/wireless/intersil/p54/main.c
+++ b/drivers/net/wireless/intersil/p54/main.c
@@ -635,7 +635,7 @@ static int p54_get_survey(struct ieee80211_hw *dev, int idx,
  				/*
  				 * hw/fw has not accumulated enough sample sets.
  				 * Wait for 100ms, this ought to be enough to
-				 * to get at least one non-null set of channel
+				 * get at least one non-null set of channel
  				 * usage statistics.
  				 */
  				msleep(100);

Re: [PATCH] wifi: p54: Fix comment typo

From: Kalle Valo <kvalo@kernel.org>
Date: 2022-09-07 08:00:09

Jason Wang [off-list ref] wrote:
The double `to' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <redacted>
Acked-by: Christian Lamparter <redacted>
Patch applied to wireless-next.git, thanks.

3d784bade0fd wifi: p54: Fix comment typo

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220811120340.12968-1-wangborong@cdjrlc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help