Skip to content
Snippets Groups Projects
Commit 399d0402 authored by Anjan Chanda's avatar Anjan Chanda
Browse files

wifi: fix for 'wlan0' not coming up

parent 559c6eed
Branches
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ intel_hostapd_setup_base() {
append base_cfg "acs_scan_mode=0" "$N"
[ "$band" == "a" ] \
&& append base_cfg "acs_fallback_chan=36 40 40" "$N" \
|| append base_cfg "acs_fallback_chan=1 1 20" "$N"
|| append base_cfg "acs_fallback_chan=1 0 20" "$N"
}
[ "$auto_channel" -gt 0 ] && json_get_values channel_list channels
......@@ -787,7 +787,6 @@ drv_intel_setup() {
local retry=0
while [ "$ret" != 0 -a "$retry" -lt 4 ]; do
echo "Starting hostapd on $phy (retry = $retry)" > /dev/console
sleep 2
/usr/sbin/hostapd -P /var/run/wifi-$phy.pid -B "$hostapd_conf_file"
ret="$?"
[ "$ret" != 0 ] && {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment