|
@@ -3225,7 +3225,8 @@ void wpas_p2p_deinit_global(struct wpa_global *global)
|
|
|
|
|
|
static int wpas_p2p_create_iface(struct wpa_supplicant *wpa_s)
|
|
static int wpas_p2p_create_iface(struct wpa_supplicant *wpa_s)
|
|
{
|
|
{
|
|
- if (wpa_s->conf->p2p_no_group_iface)
|
|
|
|
|
|
+ if (!(wpa_s->drv_flags & WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE) &&
|
|
|
|
+ wpa_s->conf->p2p_no_group_iface)
|
|
return 0; /* separate interface disabled per configuration */
|
|
return 0; /* separate interface disabled per configuration */
|
|
if (wpa_s->drv_flags &
|
|
if (wpa_s->drv_flags &
|
|
(WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE |
|
|
(WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE |
|