diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-10-31 05:46:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-31 09:32:55 -0700 |
commit | fde459007de8ce2647beaea57b56985700edc8ac (patch) | |
tree | ea72bd45e54240bd5677abf2305409b01f1b2a71 | |
parent | ce384d91cd7a4269a1ed5d4307a70aa4c6fa14f2 (diff) | |
download | op-kernel-dev-fde459007de8ce2647beaea57b56985700edc8ac.zip op-kernel-dev-fde459007de8ce2647beaea57b56985700edc8ac.tar.gz |
jme: fix panic on load
Its now illegal to call netif_stop_queue() before register_netdev()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/jme.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/jme.c b/drivers/net/jme.c index d85edf3..c57d9a4 100644 --- a/drivers/net/jme.c +++ b/drivers/net/jme.c @@ -2955,11 +2955,7 @@ jme_init_one(struct pci_dev *pdev, * Tell stack that we are not ready to work until open() */ netif_carrier_off(netdev); - netif_stop_queue(netdev); - /* - * Register netdev - */ rc = register_netdev(netdev); if (rc) { pr_err("Cannot register net device\n"); |