Skip to content

Commit

Permalink
[PATCH] bcm43xx: associate on 'ifconfig up'
Browse files Browse the repository at this point in the history
I still need this hack to work around the fact that softmac doesn't
attempt to associate when we bring the device up...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
David Woodhouse authored and John W. Linville committed May 17, 2006
1 parent 0c056c5 commit bc519f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/bcm43xx/bcm43xx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3271,6 +3271,9 @@ static int bcm43xx_init_board(struct bcm43xx_private *bcm)
bcm43xx_sysfs_register(bcm);
//FIXME: check for bcm43xx_sysfs_register failure. This function is a bit messy regarding unwinding, though...

/*FIXME: This should be handled by softmac instead. */
schedule_work(&bcm->softmac->associnfo.work);

assert(err == 0);
out:
return err;
Expand Down Expand Up @@ -3946,9 +3949,6 @@ static int bcm43xx_resume(struct pci_dev *pdev)

netif_device_attach(net_dev);

/*FIXME: This should be handled by softmac instead. */
schedule_work(&bcm->softmac->associnfo.work);

dprintk(KERN_INFO PFX "Device resumed.\n");

return 0;
Expand Down

0 comments on commit bc519f3

Please sign in to comment.