broadcom-wl: add default tx and rx antennas
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:02 +0000 (13:21 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:02 +0000 (13:21 +0000)
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>
Backport of r42085

SVN-Revision: 42350

package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh

index c5c0edebf8bc8488f0aafbdaad433d778b048916..69e3132967595fa686fa8fdee0e454a22c3c7597 100644 (file)
@@ -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