staging: rtl8188eu: add spaces around '-' in rtw_cmd.c
authorMichael Straube <straube.linux@gmail.com>
Mon, 22 Apr 2019 09:58:25 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 10:06:56 +0000 (12:06 +0200)
Add spaces around '-' to follow kernel coding style.
Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c

index 7bd38b3745c934f1068e00a55f6f91a2991ae080..61da56a3bbc4e9b569923e17959f878f6d79b2ec 100644 (file)
@@ -405,8 +405,8 @@ u8 rtw_joinbss_cmd(struct adapter  *padapter, struct wlan_network *pnetwork)
 
        psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->ie_length;
 
-       if ((psecnetwork->ie_length-12) < 255)
-               memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length-12);
+       if ((psecnetwork->ie_length - 12) < 255)
+               memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], psecnetwork->ie_length - 12);
        else
                memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->ies[12], 255);