madwifi: add patch for doing ad-hoc and master mode at the same (including beacon...
[openwrt.git] / package / madwifi / patches / 110-init_fix_PR_914.patch
1 diff -urN madwifi-ng-r2377-20070526.old/ath/if_ath.c madwifi-ng-r2377-20070526.dev/ath/if_ath.c
2 --- madwifi-ng-r2377-20070526.old/ath/if_ath.c 2007-05-26 18:51:08.393811488 +0200
3 +++ madwifi-ng-r2377-20070526.dev/ath/if_ath.c 2007-05-26 18:51:08.485797504 +0200
4 @@ -1959,7 +1959,10 @@
5 ath_draintxq(sc);
6 if (!sc->sc_invalid) {
7 ath_stoprecv(sc);
8 +
9 + /* XXX: this helps to avoid crashes on ifconfig down/up
10 ath_hal_phydisable(ah);
11 + */
12 } else
13 sc->sc_rxlink = NULL;
14 ath_beacon_free(sc); /* XXX needed? */
This page took 0.035643 seconds and 5 git commands to generate.