diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-09-11 16:46:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-09-11 19:34:01 -0400 |
commit | 6aeb3dddb7c6697c083582a0757078e163758971 (patch) | |
tree | c032b0e362e1e142bcfa14c7f3988c62cef7902c | |
parent | 7d4b0394bbf5e306ff9d5753163a07187131bfd8 (diff) |
[PATCH] bcm43xx: Correct out of sequence initialization step
This patch fixes an out of sequence step in the bcm43xx_init_board
routine for bcm43xx-softmac.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 96a5fdec8aad..699b74dfb182 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -3541,10 +3541,10 @@ static int bcm43xx_init_board(struct bcm43xx_private *bcm) | |||
3541 | err = bcm43xx_sysfs_register(bcm); | 3541 | err = bcm43xx_sysfs_register(bcm); |
3542 | if (err) | 3542 | if (err) |
3543 | goto err_wlshutdown; | 3543 | goto err_wlshutdown; |
3544 | bcm43xx_periodic_tasks_setup(bcm); | ||
3545 | err = bcm43xx_rng_init(bcm); | 3544 | err = bcm43xx_rng_init(bcm); |
3546 | if (err) | 3545 | if (err) |
3547 | goto err_sysfs_unreg; | 3546 | goto err_sysfs_unreg; |
3547 | bcm43xx_periodic_tasks_setup(bcm); | ||
3548 | 3548 | ||
3549 | /*FIXME: This should be handled by softmac instead. */ | 3549 | /*FIXME: This should be handled by softmac instead. */ |
3550 | schedule_work(&bcm->softmac->associnfo.work); | 3550 | schedule_work(&bcm->softmac->associnfo.work); |