HS 2.0: Include HS 2.0 Indication element only for HS 2.0 association
authorJouni Malinen <j@w1.fi>
Sun, 5 May 2013 13:29:21 +0000 (16:29 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 5 May 2013 13:29:21 +0000 (16:29 +0300)
commit55a2df4389cf5b712ac4c96ee0fb0a153b97da7f
tree56b737123573f5ee314809646854095fb046655c
parentad0685e901e0a4610128ce173fe737c4390af15c
HS 2.0: Include HS 2.0 Indication element only for HS 2.0 association

The Hotspot 2.0 specification seems to mandate this element to be
included in all (Re)Association Request frames if the station is Hotspot
2.0 capable. However, that results in conflicts with other requirements
like no TKIP use when this element is present. The design is really
supposed to include the indication element only for Hotspot 2.0
associations regardless of what the current specification implies.
Remove the HS 2.0 Indication element from (Re)Association Request frame
whenever the connection is not for Hotspot 2.0 purposes.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/hs20_supplicant.c
wpa_supplicant/hs20_supplicant.h
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c