mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 02:51:44 +00:00
staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c
Multiple parenthesis alignment warnings were thrown by checkpatch in ieee80211.c This patch effectively fixes that. Signed-off-by: Parth Sane <laerdevstudios@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
af07477f59
commit
d25f658df2
@ -220,8 +220,7 @@ unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit)
|
||||
pbuf = r8712_get_ie(pbuf, _WPA_IE_ID_, &len, limit);
|
||||
if (pbuf) {
|
||||
/*check if oui matches...*/
|
||||
if (memcmp((pbuf + 2), wpa_oui_type,
|
||||
sizeof(wpa_oui_type)))
|
||||
if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type)))
|
||||
goto check_next_ie;
|
||||
/*check version...*/
|
||||
memcpy((u8 *)&val16, (pbuf + 6), sizeof(val16));
|
||||
|
Loading…
Reference in New Issue
Block a user