aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index e69e8b56c4a1..c0502905a956 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3273,6 +3273,9 @@ static int bcm43xx_init_board(struct bcm43xx_private *bcm)
3273 bcm43xx_sysfs_register(bcm); 3273 bcm43xx_sysfs_register(bcm);
3274 //FIXME: check for bcm43xx_sysfs_register failure. This function is a bit messy regarding unwinding, though... 3274 //FIXME: check for bcm43xx_sysfs_register failure. This function is a bit messy regarding unwinding, though...
3275 3275
3276 /*FIXME: This should be handled by softmac instead. */
3277 schedule_work(&bcm->softmac->associnfo.work);
3278
3276 assert(err == 0); 3279 assert(err == 0);
3277out: 3280out:
3278 return err; 3281 return err;
@@ -3933,9 +3936,6 @@ static int bcm43xx_resume(struct pci_dev *pdev)
3933 3936
3934 netif_device_attach(net_dev); 3937 netif_device_attach(net_dev);
3935 3938
3936 /*FIXME: This should be handled by softmac instead. */
3937 schedule_work(&bcm->softmac->associnfo.work);
3938
3939 dprintk(KERN_INFO PFX "Device resumed.\n"); 3939 dprintk(KERN_INFO PFX "Device resumed.\n");
3940 3940
3941 return 0; 3941 return 0;