From 399d0402b6f03bec11317f4751793ef7343d241d Mon Sep 17 00:00:00 2001 From: Anjan Chanda <anjan.chanda@iopsys.eu> Date: Tue, 26 Nov 2019 15:38:16 +0100 Subject: [PATCH] wifi: fix for 'wlan0' not coming up --- lq-wave-300_5_x/files/lib/netifd/wireless/intel.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lq-wave-300_5_x/files/lib/netifd/wireless/intel.sh b/lq-wave-300_5_x/files/lib/netifd/wireless/intel.sh index d44e88f..d7fe474 100755 --- a/lq-wave-300_5_x/files/lib/netifd/wireless/intel.sh +++ b/lq-wave-300_5_x/files/lib/netifd/wireless/intel.sh @@ -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 ] && { -- GitLab