]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fcc4a28a4f774fa57a16b6d66590cc965e0e7c5
tree01be7759b6a2fc25b043c57c51fda30d4639da06
parentfc7a6ba158fa6137ffeb8b0611230fa87caff4ba
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