staging: rtl8712: Moved logical OR operator to previous line.
Moved logical OR operator to previous line to fix the following checkpatch issue: CHECK: Logical continuations should be on the previous line. Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6e3a0785ea
commit
95ee706e9a
1 changed files with 3 additions and 2 deletions
|
@ -288,8 +288,9 @@ int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
|
||||||
/* No WPA IE - fail silently */
|
/* No WPA IE - fail silently */
|
||||||
return _FAIL;
|
return _FAIL;
|
||||||
}
|
}
|
||||||
if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2))
|
if ((*wpa_ie != _WPA_IE_ID_) ||
|
||||||
|| (memcmp(wpa_ie + 2, (void *)WPA_OUI_TYPE, WPA_SELECTOR_LEN)))
|
(*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) ||
|
||||||
|
(memcmp(wpa_ie + 2, (void *)WPA_OUI_TYPE, WPA_SELECTOR_LEN)))
|
||||||
return _FAIL;
|
return _FAIL;
|
||||||
pos = wpa_ie;
|
pos = wpa_ie;
|
||||||
pos += 8;
|
pos += 8;
|
||||||
|
|
Loading…
Reference in a new issue