]> git.ipfire.org Git - thirdparty/hostap.git/commit
HS 2.0: Do not add two copies of OSEN element into Beacon/Probe Resp
authorJouni Malinen <jouni@codeaurora.org>
Fri, 30 Aug 2019 12:41:58 +0000 (15:41 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 Aug 2019 12:41:58 +0000 (15:41 +0300)
commit69e8e7817e5d3ce24664e7e9bbfd73bfa982452a
tree4c03f3cb4d889c5b958b69fcbdb976a4c33172d3
parent81d0759cba76c2df3fda15fb5032c8f26c4768ce
HS 2.0: Do not add two copies of OSEN element into Beacon/Probe Resp

OSEN element was getting added both through the Authenticator IEs
(before some non-vendor elements) and separately at the end of the
frames with other vendor elements. Fix this by removing the separate
addition of the OSEN element and by moving the Authenticator IE addition
for OSEN to match the design used with WPA so that the vendor element
gets added in the proper place in the sequence of IEs.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/beacon.c