Staging: rtl8192e: Don't mess with carrier before registering device
authorMike McCormack <mikem@ring3k.org>
Mon, 31 Jan 2011 13:09:15 +0000 (22:09 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 31 Jan 2011 21:57:04 +0000 (13:57 -0800)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_core.c

index 92c191082bde4a9c69eb78e313571bb49818b3af..5685d33d25b9059f7017ed5bc4ca309c63b3f093 100644 (file)
@@ -5678,9 +5678,6 @@ static int __devinit rtl8192_pci_probe(struct pci_dev *pdev,
                goto fail;
        }
 
-       netif_carrier_off(dev);
-       netif_stop_queue(dev);
-
        register_netdev(dev);
        RT_TRACE(COMP_INIT, "dev name=======> %s\n",dev->name);
        rtl8192_proc_init_one(dev);