madwifi: fix 'bad ratekbps' message when running adhoc in .11a
[openwrt.git] / package / madwifi / patches / 110-init_fix_PR_914.patch
1 Index: madwifi-ng-r2568-20070710/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/ath/if_ath.c 2007-07-23 01:48:40.226272533 +0200
4 +++ madwifi-ng-r2568-20070710/ath/if_ath.c 2007-07-23 01:48:40.726301028 +0200
5 @@ -1988,7 +1988,10 @@
6 ath_draintxq(sc);
7 if (!sc->sc_invalid) {
8 ath_stoprecv(sc);
9 +
10 + /* XXX: this helps to avoid crashes on ifconfig down/up
11 ath_hal_phydisable(ah);
12 + */
13 } else
14 sc->sc_rxlink = NULL;
15 ath_beacon_free(sc); /* XXX needed? */
This page took 0.03985 seconds and 5 git commands to generate.