hostapd: fix `UPDATE_VAL` fail in `uc_hostapd_iface_start`
authorJianhui Zhao <zhaojh329@gmail.com>
Wed, 15 May 2024 02:45:13 +0000 (10:45 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Sep 2024 21:36:46 +0000 (23:36 +0200)
commitb4dfa3b33c349be1bf74a64c3dd24c8dff98dc3c
tree2a0abecfa68a807bd23ab6cf0bc628c15287395d
parentb0aecfaa4fd710df2dec9ceb90c3a6ebd97dcb7e
hostapd: fix `UPDATE_VAL` fail in `uc_hostapd_iface_start`

If the `intval` obtained from `info` is indeed 0, it cannot be set to `conf`.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15495
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/src/src/ap/ucode.c