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 c6b01e9..d423288 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}