diff options
author | Michael Buesch <mb@bu3sch.de> | 2006-08-15 18:29:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-08-29 17:06:28 -0400 |
commit | 7a9b8cdacfd42d44f8a615e7db8743655d7647e7 (patch) | |
tree | a8cfcdb2cbda9ceef88b333be38e623c94187e71 /drivers/net/wireless | |
parent | 9218e02bd4dba86e458d9c57d66c18517fb642ff (diff) |
[PATCH] bcm43xx: re-add bcm43xx_rng_init() call
Calls to bcm43xx_rng_init() and bcm43xx_rng_exit() got
lost due to merge trouble. Re-add them.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 6dd475eb5510..b1e45340bd82 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -3274,6 +3274,7 @@ static int bcm43xx_shutdown_all_wireless_cores(struct bcm43xx_private *bcm) | |||
3274 | /* This is the opposite of bcm43xx_init_board() */ | 3274 | /* This is the opposite of bcm43xx_init_board() */ |
3275 | static void bcm43xx_free_board(struct bcm43xx_private *bcm) | 3275 | static void bcm43xx_free_board(struct bcm43xx_private *bcm) |
3276 | { | 3276 | { |
3277 | bcm43xx_rng_exit(bcm); | ||
3277 | bcm43xx_sysfs_unregister(bcm); | 3278 | bcm43xx_sysfs_unregister(bcm); |
3278 | bcm43xx_periodic_tasks_delete(bcm); | 3279 | bcm43xx_periodic_tasks_delete(bcm); |
3279 | 3280 | ||
@@ -3541,6 +3542,9 @@ static int bcm43xx_init_board(struct bcm43xx_private *bcm) | |||
3541 | err = bcm43xx_sysfs_register(bcm); | 3542 | err = bcm43xx_sysfs_register(bcm); |
3542 | if (err) | 3543 | if (err) |
3543 | goto err_wlshutdown; | 3544 | goto err_wlshutdown; |
3545 | err = bcm43xx_rng_init(bcm); | ||
3546 | if (err) | ||
3547 | goto err_sysfs_unreg; | ||
3544 | 3548 | ||
3545 | /*FIXME: This should be handled by softmac instead. */ | 3549 | /*FIXME: This should be handled by softmac instead. */ |
3546 | schedule_work(&bcm->softmac->associnfo.work); | 3550 | schedule_work(&bcm->softmac->associnfo.work); |
@@ -3550,6 +3554,8 @@ out: | |||
3550 | 3554 | ||
3551 | return err; | 3555 | return err; |
3552 | 3556 | ||
3557 | err_sysfs_unreg: | ||
3558 | bcm43xx_sysfs_unregister(bcm); | ||
3553 | err_wlshutdown: | 3559 | err_wlshutdown: |
3554 | bcm43xx_shutdown_all_wireless_cores(bcm); | 3560 | bcm43xx_shutdown_all_wireless_cores(bcm); |
3555 | err_crystal_off: | 3561 | err_crystal_off: |