summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl
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/broadcom-wl
parent8bc5902d72b3e8deb4f2e1d05d32504de398d567 (diff)
downloadmtk-20170518-8af860e186d718701f78f28f4a8c9bde619eb273.zip
mtk-20170518-8af860e186d718701f78f28f4a8c9bde619eb273.tar.gz
mtk-20170518-8af860e186d718701f78f28f4a8c9bde619eb273.tar.bz2
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/broadcom-wl')
-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 c5c0ede..69e3132 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