On 2013-12-12 13:40, Yousong Zhou wrote: > commit a7ef3ef `mac80211: add missing set_default to fix stray "radio0: > sh: bad number" messages" effectly disabled wds option. > > Wds is actually set_default before, it is json_get_var() which would set > variables' value to null if they does not appear in the JSON data. This > will cause "bad number" error. > > Thu Dec 5 16:55:54 2013 daemon.notice netifd: radio0 (17747): sh: bad > number > > Signed-off-by: Yousong Zhou <yszhou4t...@gmail.com> I don't understand how this change would make any difference at all. 'set_default wds 0' should be equivalent to: 'wds="${wds:-0}"', which should be the same as [ -z "$wds" ] && wds=0.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel