summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-25 14:07:04 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-25 14:07:04 +0000
commit10b2579edba1bc5ab66fbd5b2315cab874ed202b (patch)
tree067e7c2e54d405e507317b70832638e91476800d /package
parent5973792c3f6f978484961249b921a46fbd1523b4 (diff)
merge madwifi r2591 for rxantenna selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8157 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 000000000..c2bb94765
--- /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