allow channel to be ommited
authorMike Baker <mbm@openwrt.org>
Sat, 16 Dec 2006 09:05:37 +0000 (09:05 +0000)
committerMike Baker <mbm@openwrt.org>
Sat, 16 Dec 2006 09:05:37 +0000 (09:05 +0000)
SVN-Revision: 5807

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}