staging: et131x: on transmit, stop the queue if the next packet will fail
authorMark Einon <mark.einon@gmail.com>
Thu, 20 Oct 2011 00:18:46 +0000 (01:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Oct 2011 08:07:12 +0000 (10:07 +0200)
commit06709e962322eb565f1e5ce591df7efb3db07c1f
tree01be7759b6a2fc25b043c57c51fda30d4639da06
parent26d19bf60be3a41bbd6c31d89d13a9c5e8edef8b
staging: et131x: on transmit, stop the queue if the next packet will fail

* Currently the tx queue is only stopped when the current packet fails.
Check if the next packet will fail, and stop the queue if so.

* Removed associated item from TODO list in the README.

* Also minor fixup as adapter was being declared as null and immediately set
to a value.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c