[PATCH] wifi: p54: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/net/wireless/intersil/p54/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] wifi: p54: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `to' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Posted by Kalle Valo 3 years, 7 months ago
Jason Wang <wangborong@cdjrlc.com> wrote:

> The double `to' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> Acked-by: Christian Lamparter <chunkeey@gmail.com>

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
Re: [PATCH] wifi: p54: Fix comment typo
Posted by Christian Lamparter 3 years, 8 months ago
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 <chunkeey@gmail.com>

> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>   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);