aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-08-08 22:59:45 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-08-08 22:59:45 +0000
commit8af860e186d718701f78f28f4a8c9bde619eb273 (patch)
treec93e1d62aa6525b03857dde0e5c944c29135f893 /package/kernel
parent8bc5902d72b3e8deb4f2e1d05d32504de398d567 (diff)
downloadupstream-8af860e186d718701f78f28f4a8c9bde619eb273.tar.gz
upstream-8af860e186d718701f78f28f4a8c9bde619eb273.tar.bz2
upstream-8af860e186d718701f78f28f4a8c9bde619eb273.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> SVN-Revision: 42085
Diffstat (limited to 'package/kernel')
-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