diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-04-07 16:31:17 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-04-07 16:31:17 +0000 |
commit | 7757e8fe89201ded301c5f28f12dcb1cca106687 (patch) | |
tree | e027182b646e199b5c0d56b0d6531649cd9e7a41 /usr.sbin | |
parent | b7f0230b09ce0d8d16620767b90102947f724c07 (diff) |
txq->lastds is only valid when txq is not empty.
Check for emptiness of the TX queue instead of lastds != NULL.
I have a feeling this might fix the "device timeout" issues reported
by Rivo Nurges on his AR5418 unveiled by athn.c r1.28 commit, though
he is not around to confirm.
This is a candidate for -stable.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions