aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-02-04 19:24:37 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-04 19:24:37 (GMT)
commit9b170991ac15032624ab330fc10534e237579999 (patch)
treeb4ae034d6360c4fd319af2e06e7f26433f19aa1a /wpa_supplicant/mesh.c
parent945604a355c4c919587faefaced2b966f350defe (diff)
downloadhostap-9b170991ac15032624ab330fc10534e237579999.zip
hostap-9b170991ac15032624ab330fc10534e237579999.tar.gz
hostap-9b170991ac15032624ab330fc10534e237579999.tar.bz2
mesh: Fix mesh interface removal fix
This wpa_drv_if_remove() call was previously modified to fix a different issue, but that fix resulted in unconditional use of treed memory here (wpa_supplicant_deinit_iface() frees wpa_s). Make a local copy of wpa_s->parent to be able to use it after wpa_s is freed. The mesh_if_created case has wpa_s->parent != wpa_s, so this should be sufficient way of handling the wpa_drv_if_remove() call here. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/mesh.c')
0 files changed, 0 insertions, 0 deletions