openwrt/package/network/services/hostapd
Daniel Golle 50a59b3a39 hostapd: fix segfault in wpa_supplicant ubus
When introducing ubus reload support, ubus initialization was moved
to the service level instead of being carried out when adding a BSS
configuration. While this works when using wpa_supplicant in that way,
it breaks the ability to run wpa_supplicant on the command line, eg.
for debugging purposes.
Fix that by re-introducing ubus context intialization when adding
configuration.

Reported-by: @PolynomialDivision https://github.com/openwrt/openwrt/pull/2417
Fixes: 60fb4c92b6 ("hostapd: add ubus reload")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-18 19:05:22 +01:00
..
files hostapd: start hostapd/wpa_supplicant for all wiphy devices 2020-02-24 23:27:50 +01:00
patches hostapd: enhance wifi reload 2020-02-25 17:01:55 +01:00
src hostapd: fix segfault in wpa_supplicant ubus 2020-03-18 19:05:22 +01:00
Config.in hostapd: adjust to removal of WOLFSSL_HAS_AES_GCM 2019-10-12 23:43:08 +02:00
Makefile hostapd: fix segfault in wpa_supplicant ubus 2020-03-18 19:05:22 +01:00