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

Commit baf62eec authored by Roel Kluin's avatar Roel Kluin Committed by John W. Linville
Browse files

libertas: pos[4] tested twice, 2nd should be pos[5]



pos[4] can't be both 0x43 and 0x04, 2nd should be pos[5]

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0c2bec96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -692,7 +692,7 @@ static int lbs_process_bss(struct bss_descriptor *bss,
					    bss->wpa_ie_len);
			} else if (pos[1] >= MARVELL_MESH_IE_LENGTH &&
				   pos[2] == 0x00 && pos[3] == 0x50 &&
				   pos[4] == 0x43 && pos[4] == 0x04) {
				   pos[4] == 0x43 && pos[5] == 0x04) {
				lbs_deb_scan("got mesh IE\n");
				bss->mesh = 1;
			} else {