cxgbe(4): Fix assertion in timer calibration

The calibration callout is stopped when the adapter is marked off limits
but not when the adapter is merely stopped.

MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar
2026-02-10 11:07:43 -08:00
parent d03b6bb766
commit afe55ae68e
+1 -1
View File
@@ -1249,7 +1249,7 @@ t4_calibration(void *arg)
sc = (struct adapter *)arg;
KASSERT(hw_all_ok(sc), ("!hw_all_ok at t4_calibration"));
KASSERT(!hw_off_limits(sc), ("hw_off_limits at t4_calibration"));
hw = t4_read_reg64(sc, A_SGE_TIMESTAMP_LO);
sbt = sbinuptime();