[PATCH] staging: rtl8192e: Fix comments typo

Shaomin Deng posted 1 patch 3 years, 7 months ago
drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] staging: rtl8192e: Fix comments typo
Posted by Shaomin Deng 3 years, 7 months ago
Fix double word "new" in comments.

Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
 drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index b5f4d35954a9..9e6d7c5716ff 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -1611,7 +1611,7 @@ inline void rtllib_softmac_new_net(struct rtllib_device *ieee,
 
 	short apset, ssidset, ssidbroad, apmatch, ssidmatch;
 
-	/* we are interested in new new only if we are not associated
+	/* we are interested in new only if we are not associated
 	 * and we are not associating / authenticating
 	 */
 	if (ieee->state != RTLLIB_NOLINK)
-- 
2.35.1
Re: [PATCH] staging: rtl8192e: Fix comments typo
Posted by Philipp Hortmann 3 years, 7 months ago
On 8/25/22 17:02, Shaomin Deng wrote:
> Fix double word "new" in comments.
> 
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
> ---
>   drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
> index b5f4d35954a9..9e6d7c5716ff 100644
> --- a/drivers/staging/rtl8192e/rtllib_softmac.c
> +++ b/drivers/staging/rtl8192e/rtllib_softmac.c
> @@ -1611,7 +1611,7 @@ inline void rtllib_softmac_new_net(struct rtllib_device *ieee,
>   
>   	short apset, ssidset, ssidbroad, apmatch, ssidmatch;
>   
> -	/* we are interested in new new only if we are not associated
> +	/* we are interested in new only if we are not associated
>   	 * and we are not associating / authenticating
>   	 */
>   	if (ieee->state != RTLLIB_NOLINK)

Sorry this proposal was made just some hours before by Jilin Yuan 
<yuanjilin@cdjrlc.com> in patch: "[PATCH] staging/rtl8192e: fix repeated 
words in comments"

Bye Philipp