mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
P2P: Do not process configuration changes on non-P2P interfaces
This commit is contained in:
parent
e2197af1b2
commit
4c01083400
@ -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…
x
Reference in New Issue
Block a user