diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2016-02-17 21:24:26 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2016-02-17 21:24:26 +0000 |
| commit | 7b0c04c29c08952e4ec9a7730d557114b01a0ccd (patch) | |
| tree | 1389abc4d8cfc454e3a54a2d052addde39736ed8 /sys/dev/ae | |
| parent | c619ab95b3d2958ca206734af80898b286677737 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ae')
| -rw-r--r-- | sys/dev/ae/if_ae.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c index 6108f8192b7b..b8870561ddea 100644 --- a/sys/dev/ae/if_ae.c +++ b/sys/dev/ae/if_ae.c @@ -1660,7 +1660,7 @@ ae_stop_rxmac(ae_softc_t *sc) /* * Wait for IDLE state. */ - for (i = 0; i < AE_IDLE_TIMEOUT; i--) { + for (i = 0; i < AE_IDLE_TIMEOUT; i++) { val = AE_READ_4(sc, AE_IDLE_REG); if ((val & (AE_IDLE_RXMAC | AE_IDLE_DMAWRITE)) == 0) break; |
