generic: rtl8366: enable ports only after VLAN configuration is done
[openwrt.git] / target / linux / generic / patches-2.6.36 / 988-ibm_newemac_remove_netif_stop_queue.patch
1 From 811718f071bbd337a823b2827ca3ea2b7205d162 Mon Sep 17 00:00:00 2001
2 From: David S. Miller <davem@davemloft.net>
3 Date: Mon, 1 Nov 2010 08:49:51 -0700
4 Subject: [PATCH] ibm_newemac: Remove netif_stop_queue() in emac_probe().
5
6 Touching the queue state before register_netdev is not
7 allowed, and besides the queue state before ->open()
8 is "don't care"
9
10 Reported-by: Josh Boyer <jwboyer@gmail.com>
11 Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
12 Signed-off-by: David S. Miller <davem@davemloft.net>
13 ---
14 drivers/net/ibm_newemac/core.c | 1 -
15 1 files changed, 0 insertions(+), 1 deletions(-)
16
17 --- a/drivers/net/ibm_newemac/core.c
18 +++ b/drivers/net/ibm_newemac/core.c
19 @@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct p
20 SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops);
21
22 netif_carrier_off(ndev);
23 - netif_stop_queue(ndev);
24
25 err = register_netdev(ndev);
26 if (err) {
This page took 0.042335 seconds and 5 git commands to generate.