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
This commit is contained in:
Sam Leffler 2004-01-07 19:07:41 +00:00
parent f3be79561f
commit 7bbf937701

View File

@ -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;