]> git.ipfire.org Git - thirdparty/hostap.git/commit
Multi-AP: Fix backhaul SSID printing condition
authorJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 10:33:33 +0000 (12:33 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Feb 2021 10:50:34 +0000 (12:50 +0200)
commit6518c72b02b26d801efe725a471c9676a191cc81
tree8f853b5a1df964e0a16263d95a18f412b2e18f11
parent1ba8a315cd19c521e9bdae3538997f7f23ca70ef
Multi-AP: Fix backhaul SSID printing condition

ssid->ssid is an array so comparison against NULL is pointless; check
ssid->ssid_len instead.

Fixes: 871d6648f502 ("hostapd: Add multi_ap settings to get_config() output")
Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c