Re: [OpenWrt-Devel] [PATCH 1/1] mac80211: add default value for noscan

2019-11-23 Thread Sebastian Kemper
Hi all, Would be nice if this could be fixed in 19.07 branch as well (which is where I first saw the warning). Kind regards, Seb ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 1/1] mac80211: add default value for noscan

2019-11-23 Thread Sebastian Kemper
Commit b3d8b3a introduced a new test: [ -n "$noscan" -a "$noscan" -gt 0 ] && hostapd_noscan=1 But if length of "$noscan" is zero (noscan is not set) this doesn't stop the shell to evaluate the rest of the test. root@hank2:~# [ -n "$noscan" -a "$noscan" -gt 0 ] ash: out of range root@hank2:~# So