Miracast: Use the self generated PIN value with P2P_CONNECT display

Fix the sigma_dut controlled P2P group formation case where the local
device is displaying a PIN. The sigma_dut generated PIN is read by an
earlier CAPI command and it is send to the peer device. This same
previously generated PIN value needs to be sent from sigma_dut to
wpa_supplicant in the P2P_CONNECT command instead of requesting
wpa_supplicant to generate another PIN (which is what the "pin" argument
does). This fixed WPS PIN mismatch issues in related testing operations.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
1 file changed