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>
This commit is contained in:
parent
b870c16534
commit
8de185a176
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ append_iw_anqp_3gpp_cell_net() {
|
||||||
if [ -z "$iw_anqp_3gpp_cell_net_conf" ]; then
|
if [ -z "$iw_anqp_3gpp_cell_net_conf" ]; then
|
||||||
iw_anqp_3gpp_cell_net_conf="$1"
|
iw_anqp_3gpp_cell_net_conf="$1"
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue