path: root/wpa_supplicant/wnm_sta.h
diff options
authorJouni Malinen <jouni@qca.qualcomm.com>2016-09-20 15:00:22 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-21 21:34:19 (GMT)
commit4424aa5d7d1a1624b2a2e0241430da7ee3e80a54 (patch)
tree4fa94627b0b685099d521abc7ba8a1da8a535abf /wpa_supplicant/wnm_sta.h
parent81258efacb57940a2a902504aec440dc59664c34 (diff)
P2P: Fix D-Bus persistent parameter in group started event on GO
When starting a P2P GO, the struct p2p_go_neg_results may use persistent_group == 2 to indicate use of persistent reconnect. Setting ssid->p2p_persistent_group based on this did not take into account this special case and that ended up in D-Bus code trying to encode 2 as a DBUS_TYPE_BOOLEAN value which results in an assert from the library. Fix this by setting ssid->p2p_persistent_group to 0 or 1 instead of raw params->persistent_group value without any filtering. This is similar to an earlier fix in commit 112fdee738d28c4e8bfb66ad7202d4348c4e7771 ('P2P: Fix D-Bus persistent parameter in group started event') that addressed another code path in sending out this D-Bus signal. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.h')
0 files changed, 0 insertions, 0 deletions