* Rafał Miłecki <zaj...@gmail.com> [30.04.2013 13:14]:
> > Can you point me to some guidelines or sth? I had no idea about that.
> > Is that documented anywhere?
> 
> I checked http://wiki.openwrt.org/doc/uci/wireless and it specifies
> "auto" as default value for "channel", but that's for station mode
> only.

IMHO the logic should be:

if wl $WIFIDEV bands | grep -q "802.11a" ; then
        channel=36
else
        channel=1
fi

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to