Skip to contentSkip to conversation

wifi: p54: Fix comment typo

PATCH In review Jason Wang 3 participants 3 messages Aug 11, 2022 – Sep 7, 2022

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 wifi: p54: Fix comment typo

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

---
 drivers/net/wireless/intersil/p54/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/main.c +1 -1
index b925e327e091..e127453ab51a 100644
@@ -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);
Signature · 1 line
2.36.1
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Jason Wang

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.

Quoted 19 lines
---
  drivers/net/wireless/intersil/p54/main.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/intersil/p54/main.c +1 -1
index b925e327e091..e127453ab51a 100644
@@ -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 lore raw
In reply to Jason Wang
Quoted 4 lines · Jason Wang

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

Patch applied to wireless-next.git, thanks.

3d784bade0fd wifi: p54: Fix comment typo

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

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