summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-01-07 19:07:41 +0000
committersam <sam@FreeBSD.org>2004-01-07 19:07:41 +0000
commit3c9436af24b0d8ed8d328be36d64ef8f43f32c13 (patch)
tree46babfcc8344d7e322a0fba048b7ea32c8b1230f /sys/dev/ath
parent3c957beae789a6f31b7e7968012d392ad6bbe342 (diff)
downloadFreeBSD-src-3c9436af24b0d8ed8d328be36d64ef8f43f32c13.zip
FreeBSD-src-3c9436af24b0d8ed8d328be36d64ef8f43f32c13.tar.gz
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
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud