WPS: Fix an interoperability issue with mixed mode and AP Settings
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 27 Jan 2012 20:32:15 +0000 (22:32 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Jan 2012 20:32:15 +0000 (22:32 +0200)
commitce7b56afab8e6065e886b9471fa8071c8d2bd66b
tree237c30539a99dc3138e2cf7744dbe10cb898f10f
parentb21ff9cb20657e293db139f86b6d90a202c452c2
WPS: Fix an interoperability issue with mixed mode and AP Settings

It looks like Windows 7 WPS implementation does not like multiple
Authentication/Encryption Type bits to be set in M7 AP Settings
attributes, i.e., it refused to add a network profile if the AP
was configured for WPA/WPA2 mixed mode and AP PIN was used to
enroll the network.

Leave only a single bit set in the Authentication/Encryption Type
attributes in M7 when the AP is acting as an Enrollee to avoid this
issue.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/wps/wps_enrollee.c