projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
268a499
)
Support no-config-file in WPS AP settings updates
author
Shan Palanisamy
<shanp@qca.qualcomm.com>
Mon, 18 Jun 2012 15:11:54 +0000
(18:11 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 25 Aug 2012 10:48:34 +0000
(13:48 +0300)
This is required for WPS open mode with control interface -based
configuration.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wps_hostapd.c
patch
|
blob
|
history
diff --git
a/src/ap/wps_hostapd.c
b/src/ap/wps_hostapd.c
index
74b637e
..
5e44c72
100644
(file)
--- a/
src/ap/wps_hostapd.c
+++ b/
src/ap/wps_hostapd.c
@@
-345,6
+345,8
@@
static int hapd_wps_cred_cb(struct hostapd_data *hapd, void *ctx)
}
hapd->wps->wps_state = WPS_STATE_CONFIGURED;
+ if (hapd->iface->config_fname == NULL)
+ return 0;
len = os_strlen(hapd->iface->config_fname) + 5;
tmp_fname = os_malloc(len);
if (tmp_fname == NULL)