merge madwifi r2591 for rxantenna selection
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Jul 2007 14:07:04 +0000 (14:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Jul 2007 14:07:04 +0000 (14:07 +0000)
SVN-Revision: 8157

package/madwifi/patches/129-rxant_r2591.patch [new file with mode: 0644]

diff --git a/package/madwifi/patches/129-rxant_r2591.patch b/package/madwifi/patches/129-rxant_r2591.patch
new file mode 100644 (file)
index 0000000..c2bb947
--- /dev/null
@@ -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