aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-08-08 22:59:45 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-08-08 22:59:45 +0000
commit4ab6f2b3898be4ca6532a37a5d33608fe4fa8227 (patch)
tree6562240e2bc1ad56c6099db435c7be53da8e44d2
parente48a8f9585628a7a6add3c97538765c0bc834083 (diff)
downloadupstream-4ab6f2b3898be4ca6532a37a5d33608fe4fa8227.tar.gz
upstream-4ab6f2b3898be4ca6532a37a5d33608fe4fa8227.tar.bz2
upstream-4ab6f2b3898be4ca6532a37a5d33608fe4fa8227.zip
broadcom-wl: add default tx and rx antennas
This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42085 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index c5c0edebf8..69e3132967 100644
--- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -450,7 +450,8 @@ detect_broadcom() {
config wifi-device wl${i}
option type broadcom
option channel ${channel:-11}
-
+ option txantenna 3
+ option rxantenna 3
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1