From 3c9436af24b0d8ed8d328be36d64ef8f43f32c13 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 7 Jan 2004 19:07:41 +0000 Subject: use ath_reset instead of ath_init when recovering from a watchdog timeout: resetting the hardware is sufficient, no need to reset the 802.11 fsm --- sys/dev/ath/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ath/if_ath.c') diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 3e4a399..691a780 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -845,7 +845,7 @@ ath_watchdog(struct ifnet *ifp) if (ath_debug & ATH_DEBUG_WATCHDOG) ath_hal_dumpstate(sc->sc_ah); #endif /* AR_DEBUG */ - ath_init(ifp); /* XXX ath_reset??? */ + ath_reset(sc); ifp->if_oerrors++; sc->sc_stats.ast_watchdog++; return; -- cgit v1.1