]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix potential mesh-related change from impacting non-mesh cases
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 22 Feb 2017 22:19:10 +0000 (00:19 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Feb 2017 10:05:40 +0000 (12:05 +0200)
commit21ed24f5ad3b713d1174a1ce55025b7266ff878d
tree7b97a92f390f221b4bf3c3159a4dfb2d96cff195
parent659ff340234b5a0e4875dab8e38197ab35256ce2
hostapd: Fix potential mesh-related change from impacting non-mesh cases

Commit 01e2231fdc4fbec61fbc382238e3606a1d2826e4 ('hostapd: Skip some
configuration steps for mesh cases') removed some operations based on
hapd->iface->mconf being NULL. This was within #ifdef CONFIG_MESH, so it
should not impact hostapd, but it can impact AP mode with
wpa_supplicant. That does not sound intentional, so make these
conditional on hapd->conf->mesh being enabled.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/hostapd.c