projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WPS: Fix num_probereq_cb clearing on DISABLE to avoid segfault
[mech_eap.git]
/
src
/
ap
/
hostapd.c
diff --git
a/src/ap/hostapd.c
b/src/ap/hostapd.c
index
e4d7bfc
..
c09c17a
100644
(file)
--- a/
src/ap/hostapd.c
+++ b/
src/ap/hostapd.c
@@
-261,6
+261,7
@@
static void hostapd_free_hapd_data(struct hostapd_data *hapd)
{
os_free(hapd->probereq_cb);
hapd->probereq_cb = NULL;
+ hapd->num_probereq_cb = 0;
#ifdef CONFIG_P2P
wpabuf_free(hapd->p2p_beacon_ie);