make hotplug2 depend on udevtrigger
[openwrt.git] / package / madwifi / patches / 110-init_fix_PR_914.patch
1 Doing ifconfig athX down/ifconfig athX up several times provokes kernel crash.
2 See http://madwifi.org/ticket/914. But if ath_hal_phydisable() is skipped -
3 I observe NO CRASH whatsoever ... :\ Weird.
4
5 Signed-off-by: Mindaugas Kriaučiūnas <mindaugas.kriauciunas@gmail.com>
6 Signed-off-by: Žilvinas Valinskas <valins@soften.ktu.lt>
7
8 Index: madwifi-ng-trunk/ath/if_ath.c
9 ===================================================================
10 --- madwifi-ng-trunk.orig/ath/if_ath.c 2006-10-16 17:40:50.000000000 +0300
11 +++ madwifi-ng-trunk/ath/if_ath.c 2006-10-18 16:17:32.000000000 +0300
12 @@ -1997,7 +1997,10 @@
13 ath_draintxq(sc);
14 if (!sc->sc_invalid) {
15 ath_stoprecv(sc);
16 +
17 + /* XXX: this helps to avoid crashes on ifconfig down/up
18 ath_hal_phydisable(ah);
19 + */
20 } else
21 sc->sc_rxlink = NULL;
22 ath_beacon_free(sc); /* XXX needed? */
This page took 0.044718 seconds and 5 git commands to generate.