P2P: Mark the scan in p2p_in_invitation as p2p_probe
authorSunil Dutt <usdutt@qti.qualcomm.com>
Wed, 9 Apr 2014 09:12:08 +0000 (14:42 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 10 Apr 2014 16:54:36 +0000 (19:54 +0300)
Mark the scan performed by the P2P Client in search of the GO
during the persistant reinvocation as a p2p_probe to avoid
unnecessary use of 802.11b rates.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/scan.c

index 1d4e6e5..bc0daeb 100644 (file)
@@ -870,7 +870,7 @@ ssid_list_set:
        }
 
 #ifdef CONFIG_P2P
-       if (wpa_s->p2p_in_provisioning ||
+       if (wpa_s->p2p_in_provisioning || wpa_s->p2p_in_invitation ||
            (wpa_s->show_group_started && wpa_s->go_params)) {
                /*
                 * The interface may not yet be in P2P mode, so we have to