mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
staging: rtl8188eu: add spaces around '-' in rtw_cmd.c
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>
This commit is contained in:
parent
74e226b302
commit
58585aa8eb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user