staging: rtl8723bs: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 14 Mar 2022 11:53:31 +0000 (12:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Mar 2022 14:54:35 +0000 (15:54 +0100)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220314115354.144023-8-Julia.Lawall@inria.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c

index 9202223ebc0cadfb0fda763f85611f36f4763eac..ed2d3b7d44d9a2f4b5e649dab1d9a272b7fe8c84 100644 (file)
@@ -24,7 +24,7 @@ int   rtw_init_mlme_priv(struct adapter *padapter)
        pmlmepriv->fw_state = WIFI_STATION_STATE; /*  Must sync with rtw_wdev_alloc() */
        /*  wdev->iftype = NL80211_IFTYPE_STATION */
        pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown;
-       pmlmepriv->scan_mode = SCAN_ACTIVE;/*  1: active, 0: pasive. Maybe someday we should rename this varable to "active_mode" (Jeff) */
+       pmlmepriv->scan_mode = SCAN_ACTIVE;/*  1: active, 0: passive. Maybe someday we should rename this varable to "active_mode" (Jeff) */
 
        spin_lock_init(&pmlmepriv->lock);
        INIT_LIST_HEAD(&pmlmepriv->free_bss_pool.queue);