Staging: rtl8188eu: Add space around operator
authorShreeya Patel <shreeya.patel23498@gmail.com>
Sun, 8 Mar 2020 19:21:52 +0000 (00:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2020 09:44:50 +0000 (10:44 +0100)
Add space around & operator for improving the code
readability.

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Acked-by: Julia Lawall <julia.lawall@inria.fr>
Link: https://lore.kernel.org/r/20200308192152.26403-1-shreeya.patel23498@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c

index e764436e120fe77958d9541bf2f23b1970f06463..8da955e8343bfd738e9b4160f172999c620157c7 100644 (file)
@@ -924,7 +924,7 @@ static void rtw_joinbss_update_network(struct adapter *padapter, struct wlan_net
        /* update fw_state will clr _FW_UNDER_LINKING here indirectly */
        switch (pnetwork->network.InfrastructureMode) {
        case Ndis802_11Infrastructure:
-               if (pmlmepriv->fw_state&WIFI_UNDER_WPS)
+               if (pmlmepriv->fw_state & WIFI_UNDER_WPS)
                        pmlmepriv->fw_state = WIFI_STATION_STATE|WIFI_UNDER_WPS;
                else
                        pmlmepriv->fw_state = WIFI_STATION_STATE;