]> git.karo-electronics.de Git - mv-sheeva.git/commit
cpmac: prevent fatal exception in cpmac_end_xmit
authorStefan Weil <weil@mail.berlios.de>
Sun, 31 May 2009 10:59:15 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2009 09:56:39 +0000 (02:56 -0700)
commit0220ff7fc35913dcd8cdf8fb3a0966caf4aed2f3
tree2855ca8eada2d97ad19c58ecffd14a60f22210a9
parent69bd4ae5dc1ddb3c01e7668c7fd088904082a70c
cpmac: prevent fatal exception in cpmac_end_xmit

We should not be stopping the subqueues in cpmac_end_xmit
but rather test the status of them. Replace the calls to
netif_subqueue_stop by __netif_subqueue_stopped. This
fixes an unrecoverable exception from happening when
running the driver.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cpmac.c