diff options
| author | Sarah Maedel | 2024-08-28 09:27:05 +0000 |
|---|---|---|
| committer | David Bauer | 2024-08-28 09:57:23 +0000 |
| commit | 8de185a176079e738984ab0fc89841bc2e613fb1 (patch) | |
| tree | 2713283fd5ac744b7e3c8fa5ec41388f90ac8ca9 | |
| parent | b870c16534c05ddc94149c6ff56976d8de8a353f (diff) | |
| download | openwrt-8de185a176079e738984ab0fc89841bc2e613fb1.tar.gz | |
hostapd: fix anqp_3gpp_cell_net list delimiter
This patch fixes the list delimiter between 3GPP networks
passed to hostapd.
> list iw_anqp_3gpp_cell_net '262,001'
> list iw_anqp_3gpp_cell_net '262,002'
When passing a list of "iw_anqp_3gpp_cell_net" parameters via UCI,
hostapd would crash at startup:
> daemon.err hostapd: Line 73: Invalid anqp_3gpp_cell_net: 262,001:262,002
Using a semicolon as a delimiter, hostapd will start as expected.
Signed-off-by: Sarah Maedel <git@tbspace.de>
| -rw-r--r-- | package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh index 40266db065..232f9021b9 100644 --- a/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh +++ b/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh @@ -437,7 +437,7 @@ append_iw_anqp_3gpp_cell_net() { if [ -z "$iw_anqp_3gpp_cell_net_conf" ]; then iw_anqp_3gpp_cell_net_conf="$1" else - iw_anqp_3gpp_cell_net_conf="$iw_anqp_3gpp_cell_net_conf:$1" + iw_anqp_3gpp_cell_net_conf="$iw_anqp_3gpp_cell_net_conf;$1" fi } |