>Submitter-Id: current-users >Originator: Kurt Jaeger >Organization: - >Confidential: no >Synopsis: [patch] AsusPC EeePC ath0 (AR9285) resets interface too often >Severity: non-critical >Priority: low >Category: kern >Class: sw-bug >Release: FreeBSD 8.1-RELEASE i386 >Environment: System: FreeBSD ndog.opsec.eu 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Wed Jul 28 16:23:34 CEST 2010 pi@ndog.opsec.eu:/usr/src/sys/i386/compile/GENERIC i386 >Description: wlan driver ath0/wlan0 resets interface on AR9285 too often >How-To-Repeat: /var/log/messages contains many lines of Jul 28 14:27:47 ndog kernel: ath0: bb hang detected (0x80), reseting Jul 28 14:28:59 ndog kernel: ath0: bb hang detected (0x80), reseting Jul 28 14:29:04 ndog kernel: ath0: bb hang detected (0x80), reseting >Fix: Apply the patch and recompile the kernel and reboot. --- sys/dev/ath/if_ath.c-orig 2010-07-26 09:41:09.000000000 +0200 +++ sys/dev/ath/if_ath.c 2010-07-26 09:48:10.000000000 +0200 @@ -1477,7 +1477,7 @@ if (ath_hal_gethangstate(sc->sc_ah, 0xff, &hangs) && hangs != 0) { if_printf(ifp, "bb hang detected (0x%x), reseting\n", hangs); - ath_reset(ifp); + /* ath_reset(ifp); */ } else ieee80211_beacon_miss(ifp->if_l2com); }