]> git.ipfire.org Git - thirdparty/hostap.git/commit
TDLS: Fix checks on prohibit bits
authorCedric Izoard <Cedric.Izoard@ceva-dsp.com>
Mon, 24 Oct 2016 11:05:11 +0000 (11:05 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2016 21:24:12 +0000 (00:24 +0300)
commit8c889222bc8bc488911929fd7e8bd6d5d3f68e4e
treeb18536de951b24c8ce9d145affc8ba60a2e77658
parentc2ad5b9218f33d6f4b97d779c4928d71d82ad02c
TDLS: Fix checks on prohibit bits

ext_capab/ext_capab_len do not include ID and Length so no extra +2
offset should be used. This fixes a regression from commit
faf427645aa79a32ebd8093ff676abfc9d36e951 ('TDLS: Use proper IE parsing
routine for non-EAPOL-Key cases') that replaced the IE parser without
noticing the difference in the pointer offset.

Signed-off-by: Flavia Vanetti <flavia.vanetti@ceva-dsp.com>
src/rsn_supp/tdls.c