Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -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));