Re: [PATCH] staging: r8188eu: Fix misspelling in comment
From: Greg KH
Date: Tue Mar 29 2022 - 10:52:11 EST
On Mon, Mar 21, 2022 at 10:55:14AM +0800, Haowen Bai wrote:
> The original error is as below shows:
>
> CHECK: 'associcated' may be misspelled - perhaps 'associated'?
>
> Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx>
> ---
> drivers/staging/r8188eu/core/rtw_ap.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
> index 1675e2e..e02dd8e 100644
> --- a/drivers/staging/r8188eu/core/rtw_ap.c
> +++ b/drivers/staging/r8188eu/core/rtw_ap.c
> @@ -819,7 +819,7 @@ static int rtw_ht_operation_update(struct adapter *padapter)
>
> void associated_clients_update(struct adapter *padapter, u8 updated)
> {
> - /* update associcated stations cap. */
> + /* update associated stations cap. */
> if (updated) {
> struct list_head *phead, *plist;
> struct sta_info *psta = NULL;
> @@ -972,7 +972,7 @@ void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta)
> update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
> }
>
> - /* update associcated stations cap. */
> + /* update associated stations cap. */
> associated_clients_update(padapter, beacon_updated);
>
> DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
> @@ -1036,7 +1036,7 @@ u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta)
> update_beacon(padapter, _HT_ADD_INFO_IE_, NULL, true);
> }
>
> - /* update associcated stations cap. */
> + /* update associated stations cap. */
>
> DBG_88E("%s, updated =%d\n", __func__, beacon_updated);
>
> --
> 2.7.4
>
>
Does not apply to my tree :(