P2P: Debug print reason for specific SSID for scan
It can be useful to see whether the specific P2P SSID was used for scan based on p2p_in_provisioning or show_group_started when debugging issues where this case shows up unexpectedly. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
a633397756
commit
9100b6607b
1 changed files with 3 additions and 2 deletions
|
@ -656,8 +656,9 @@ static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
|
||||||
#ifdef CONFIG_P2P
|
#ifdef CONFIG_P2P
|
||||||
if ((wpa_s->p2p_in_provisioning || wpa_s->show_group_started) &&
|
if ((wpa_s->p2p_in_provisioning || wpa_s->show_group_started) &&
|
||||||
wpa_s->go_params) {
|
wpa_s->go_params) {
|
||||||
wpa_printf(MSG_DEBUG, "P2P: Use specific SSID for scan during "
|
wpa_printf(MSG_DEBUG, "P2P: Use specific SSID for scan during P2P group formation (p2p_in_provisioning=%d show_group_started=%d)",
|
||||||
"P2P group formation");
|
wpa_s->p2p_in_provisioning,
|
||||||
|
wpa_s->show_group_started);
|
||||||
params.ssids[0].ssid = wpa_s->go_params->ssid;
|
params.ssids[0].ssid = wpa_s->go_params->ssid;
|
||||||
params.ssids[0].ssid_len = wpa_s->go_params->ssid_len;
|
params.ssids[0].ssid_len = wpa_s->go_params->ssid_len;
|
||||||
params.num_ssids = 1;
|
params.num_ssids = 1;
|
||||||
|
|
Loading…
Reference in a new issue