diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2017-04-14 02:24:02 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2017-04-14 02:24:02 +0000 |
commit | 857b699d7ece35f1b8d6bb7adc197fa9dec4796a (patch) | |
tree | d5ac4e5b9ccc31201afff3dc80edcb75219cee8b | |
parent | 9f5efe718fcf4a91b8a64c2192aed8fe84c4770b (diff) | |
download | src-test2-857b699d7ece35f1b8d6bb7adc197fa9dec4796a.tar.gz src-test2-857b699d7ece35f1b8d6bb7adc197fa9dec4796a.zip |
Notes
-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 23ed1d89d3ef..0734335ca774 100644 --- a/sys/dev/ae/if_ae.c +++ b/sys/dev/ae/if_ae.c @@ -1696,7 +1696,7 @@ ae_stop_txmac(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_TXMAC | AE_IDLE_DMAREAD)) == 0) break; |