allow channel to be ommited
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 16 Dec 2006 09:05:37 +0000 (09:05 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 16 Dec 2006 09:05:37 +0000 (09:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5807 3c298f89-4303-0410-b956-a3cf2f4a3e73

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}