P2P: Do not process configuration changes on non-P2P interfaces
This commit is contained in:
parent
e2197af1b2
commit
4c01083400
1 changed files with 3 additions and 0 deletions
|
@ -3341,6 +3341,9 @@ void wpas_p2p_update_config(struct wpa_supplicant *wpa_s)
|
|||
if (p2p == NULL)
|
||||
return;
|
||||
|
||||
if (!(wpa_s->drv_flags & WPA_DRIVER_FLAGS_P2P_CAPABLE))
|
||||
return;
|
||||
|
||||
if (wpa_s->conf->changed_parameters & CFG_CHANGED_DEVICE_NAME)
|
||||
p2p_set_dev_name(p2p, wpa_s->conf->device_name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue