When device requests WPS PIN Display connection, it shouldn't
send GO-NEG-REQ after it gets the GO-NEG-REQ because at that time
device haven't get the PIN number from user. So with previous logic,
there'll be connection failure.
Change-Id: I3ca63e170b6a1508aa3ef10ec57d1d0b78059a6a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Name: wifi-direct-manager
Summary: Wi-Fi Direct manger
-Version: 1.2.210
+Version: 1.2.211
Release: 1
Group: Network & Connectivity/Wireless
License: Apache-2.0
/* Sometimes, Provision Discovery response is not received.
* At this time, connection should be triggered by GO Negotiation request event */
if (session->direction == SESSION_DIRECTION_OUTGOING) {
+ if(session->wps_mode == WFD_WPS_MODE_KEYPAD && session->wps_pin[0] == '\0')
+ break;
res = wfd_session_connect(session);
} else {
/* In autoconnection mode, MT should not send GO Nego Req