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
..
2020-03-10 12:49:07 +00:00
2020-01-15 21:31:12 +01:00
2020-01-05 19:36:46 +01:00
2018-07-30 10:43:36 +02:00
2020-02-22 10:31:28 +02:00
2020-03-15 20:09:19 +01:00
2019-12-22 10:45:09 +01:00
2020-03-01 21:35:59 +01:00
2020-02-12 18:01:13 +01:00
2020-02-15 08:57:49 +01:00