aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/129-rxant_r2591.patch
blob: 08960d1e66207f67a7d06dc9c9544f6c957cbfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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