]> git.ipfire.org Git - thirdparty/hostap.git/commit
SME: Fix order of WPA IE in association request
authorIlan Peer <ilan.peer@intel.com>
Thu, 23 Aug 2018 13:52:32 +0000 (16:52 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 20 Oct 2018 08:26:13 +0000 (11:26 +0300)
commit170244a1cd2c4c0560a1bad104f650b43a2552a1
treedaac32bec63164170f659f4126acd5edf4a0fcd6
parentc3da38152655de1466916fb7c12a5568d4c84a12
SME: Fix order of WPA IE in association request

In case that the protocol used for association is WPA the WPA IE was
inserted before other (non vendor specific) IEs. This is not in
accordance to the standard that states that vendor IEs should be placed
after all the non vendor IEs are placed. In addition, this would cause
the low layers to fail to properly order information elements.

To fix this, if the protocol used is WPA, store the WPA IE and reinsert
it after all the non vendor specific IEs were placed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/sme.c