aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-25 14:07:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-25 14:07:04 +0000
commit4ae75984ec4eb22a0c0470a6f36e283154b60d51 (patch)
treec972b6b05d1216996848de4922d07c89c33d00c8 /package/madwifi/patches
parentecabac03884714728bf84d0d7081e38a8bb3e1e9 (diff)
downloadupstream-4ae75984ec4eb22a0c0470a6f36e283154b60d51.tar.gz
upstream-4ae75984ec4eb22a0c0470a6f36e283154b60d51.tar.bz2
upstream-4ae75984ec4eb22a0c0470a6f36e283154b60d51.zip
merge madwifi r2591 for rxantenna selection
SVN-Revision: 8157
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/129-rxant_r2591.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/madwifi/patches/129-rxant_r2591.patch b/package/madwifi/patches/129-rxant_r2591.patch
new file mode 100644
index 0000000000..c2bb94765a
--- /dev/null
+++ b/package/madwifi/patches/129-rxant_r2591.patch
@@ -0,0 +1,14 @@
+Index: madwifi-ng-r2568-20070710/ath/if_ath.c
+===================================================================
+--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-25 16:02:49.730126121 +0200
++++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-25 16:03:20.355871384 +0200
+@@ -1882,6 +1882,9 @@
+ */
+ ath_update_txpow(sc);
+
++ /* Set the default RX antenna; it may get lost on reset. */
++ ath_setdefantenna(sc, sc->sc_defant);
++
+ /*
+ * Setup the hardware after reset: the key cache
+ * is filled as needed and the receive engine is