projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2197af
)
P2P: Do not process configuration changes on non-P2P interfaces
author
Kuko Li
<Kuko.Li@Atheros.com>
Tue, 7 Sep 2010 14:08:52 +0000
(17:08 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 10 Sep 2010 17:30:26 +0000
(10:30 -0700)
wpa_supplicant/p2p_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/p2p_supplicant.c
b/wpa_supplicant/p2p_supplicant.c
index
be6c339
..
efe5b60
100644
(file)
--- a/
wpa_supplicant/p2p_supplicant.c
+++ b/
wpa_supplicant/p2p_supplicant.c
@@
-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);