]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
atl1: Do not wake queue before queue has been started.
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 15:28:37 +0000 (08:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 15:28:37 +0000 (08:28 -0700)
commit39d48157ac1a0ff3ec81212e5451bfd1bf5f50db
treeac792ae73a39e9f0b71346047c230e19aefccb19
parent14b395e35d1afdd8019d11b92e28041fad591b71
atl1: Do not wake queue before queue has been started.

Based upon a bug report by Alexey Dobriyan, the patch is
also tested by him and confirmed to fix the problem.

Packet flow during link state events should not be done by
waking and stopping the TX queue anyways, that is handled
transparently by netif_carrier_{on,off}().

So, remove the netif_{wake,stop}_queue() calls in the link
check code, and add the necessary netif_start_queue() call
to atl1_up().

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl1.c