P2PS: Change connection capability handling
authorIlan Peer <ilan.peer@intel.com>
Thu, 24 Sep 2015 17:37:58 +0000 (20:37 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 7 Oct 2015 14:07:21 +0000 (17:07 +0300)
commitf8a80e39b33212992f88ce2e638193f81664230a
treea5866f582008f4211ab74de5156354c829edc55a
parentab804bcb6fcdaa74d2d457f1f5d09d37e3f33085
P2PS: Change connection capability handling

Change the connection capability handling so that in case there are no
active roles, the peer has an active GO, and the advertisement supports
operation as a client, the returned connection capability is set to
client.

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