diff mbox series

wifi: p54: Fix comment typo

Message ID 20220811120340.12968-1-wangborong@cdjrlc.com (mailing list archive)
State Accepted
Commit 3d784bade0fd0023d10dc51f2227f2c7cbb369dc
Delegated to: Kalle Valo
Headers show
Series wifi: p54: Fix comment typo | expand

Commit Message

Jason Wang Aug. 11, 2022, 12:03 p.m. UTC
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(-)

Comments

Christian Lamparter Aug. 12, 2022, 7:50 a.m. UTC | #1
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);
Kalle Valo Sept. 7, 2022, 7:59 a.m. UTC | #2
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
diff mbox series

Patch

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);