allow channel to be ommited
[openwrt/svn-archive/archive.git] / package / broadcom-wl / files / lib / wifi / broadcom.sh
index c6b01e9ca1a0d32bdb545772f1deb7a809dd46d0..d423288d0ce0528d32437f3d39e74599398f6876 100644 (file)
@@ -216,7 +216,7 @@ radio ${radio:-1}
 macfilter 0
 maclist none
 wds ${wds:-none}
-channel ${channel:-0}
+${channel:-channel $channel}
 country ${country:-IL0}
 maxassoc ${maxassoc:-128}
 slottime ${slottime:--1}