Commit d25f658d authored by Parth Sane's avatar Parth Sane Committed by Greg Kroah-Hartman

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: default avatarParth Sane <laerdevstudios@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af07477f
...@@ -220,8 +220,7 @@ unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) ...@@ -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); pbuf = r8712_get_ie(pbuf, _WPA_IE_ID_, &len, limit);
if (pbuf) { if (pbuf) {
/*check if oui matches...*/ /*check if oui matches...*/
if (memcmp((pbuf + 2), wpa_oui_type, if (memcmp((pbuf + 2), wpa_oui_type, sizeof(wpa_oui_type)))
sizeof(wpa_oui_type)))
goto check_next_ie; goto check_next_ie;
/*check version...*/ /*check version...*/
memcpy((u8 *)&val16, (pbuf + 6), sizeof(val16)); memcpy((u8 *)&val16, (pbuf + 6), sizeof(val16));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment