P2PS: Use wpas_p2p_create_iface() to check if dedicated iface is needed
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 2 Jul 2015 07:45:03 +0000 (10:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 17:30:12 +0000 (20:30 +0300)
commita698d6c85fcd424dcb3f92e3495c00a51608bde3
treed68dce00e3bd2348f8806181bd9927932c6081a7
parent223ccebfa3e6ef249a9715209521c34f946c35d4
P2PS: Use wpas_p2p_create_iface() to check if dedicated iface is needed

Call wpas_p2p_create_iface() instead of just checking p2p_no_group_iface
config value. Not doing so, resulted in an incorrect behavior when the
driver sets WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE flag.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/p2p_supplicant.c