1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 18:16:14 +02:00
openwrt-xburst/package/madwifi/patches/129-rxant_r2591.patch
blogic 32d35e5428 refreshed madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:13:53 +00:00

15 lines
542 B
Diff

Index: madwifi-ng-r2568-20070710/ath/if_ath.c
===================================================================
--- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-10-20 20:52:09.000000000 +0200
+++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-10-20 20:52:46.000000000 +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