aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgbe/t4_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cxgbe/t4_clip.c')
-rw-r--r--sys/dev/cxgbe/t4_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgbe/t4_clip.c b/sys/dev/cxgbe/t4_clip.c
index 24f049f9dc06..e462a064847f 100644
--- a/sys/dev/cxgbe/t4_clip.c
+++ b/sys/dev/cxgbe/t4_clip.c
@@ -576,7 +576,7 @@ update_hw_clip_table(struct adapter *sc)
rc = begin_synchronized_op(sc, NULL, HOLD_LOCK, "t4clip");
if (rc != 0)
return (rc);
- if (hw_off_limits(sc))
+ if (!hw_all_ok(sc))
goto done; /* with rc = 0, we don't want to reschedule. */
while (!TAILQ_EMPTY(&sc->clip_pending)) {
ce = TAILQ_FIRST(&sc->clip_pending);