c2bb94765ae73b033af4c161c3ee672cd2cef2be
[openwrt/openwrt.git] / package / madwifi / patches / 129-rxant_r2591.patch
1 Index: madwifi-ng-r2568-20070710/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-25 16:02:49.730126121 +0200
4 +++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-25 16:03:20.355871384 +0200
5 @@ -1882,6 +1882,9 @@
6 */
7 ath_update_txpow(sc);
8
9 + /* Set the default RX antenna; it may get lost on reset. */
10 + ath_setdefantenna(sc, sc->sc_defant);
11 +
12 /*
13 * Setup the hardware after reset: the key cache
14 * is filled as needed and the receive engine is