diff options
author | Daniel Golle <daniel@makrotopia.org> | 2020-03-18 18:58:43 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-03-18 19:05:22 +0100 |
commit | 50a59b3a392aeb44c417ac3d7c2cdeea82ef2f15 (patch) | |
tree | a998cc5b2aff3151b22f0d89d36617de4fd1bd2d /package/base-files | |
parent | 213250b56bb4a3043dcb5a48e2f849b9e45967d7 (diff) | |
download | upstream-50a59b3a392aeb44c417ac3d7c2cdeea82ef2f15.tar.gz upstream-50a59b3a392aeb44c417ac3d7c2cdeea82ef2f15.tar.bz2 upstream-50a59b3a392aeb44c417ac3d7c2cdeea82ef2f15.zip |
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>
Diffstat (limited to 'package/base-files')
0 files changed, 0 insertions, 0 deletions