diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-02-28 09:32:19 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:18:40 -0500 |
commit | 367f899ac3b52cf4611cd291ec2bfbf774b15bc7 (patch) | |
tree | 99763a1b2c27e3371c575beab326147bdb675410 /drivers/net/wireless/bcm43xx/bcm43xx_main.c | |
parent | f398f02d12cdc372e16c5e86246b10acf7211abc (diff) |
[PATCH] bcm43xx: Add sysfs attributes for device specific tunables.
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_main.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index f1ac9940f14c..1fe2fa9856e3 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -3160,6 +3160,8 @@ static void bcm43xx_free_board(struct bcm43xx_private *bcm) | |||
3160 | int i, err; | 3160 | int i, err; |
3161 | unsigned long flags; | 3161 | unsigned long flags; |
3162 | 3162 | ||
3163 | bcm43xx_sysfs_unregister(bcm); | ||
3164 | |||
3163 | bcm43xx_periodic_tasks_delete(bcm); | 3165 | bcm43xx_periodic_tasks_delete(bcm); |
3164 | 3166 | ||
3165 | spin_lock_irqsave(&bcm->lock, flags); | 3167 | spin_lock_irqsave(&bcm->lock, flags); |
@@ -3270,6 +3272,8 @@ static int bcm43xx_init_board(struct bcm43xx_private *bcm) | |||
3270 | spin_unlock_irqrestore(&bcm->lock, flags); | 3272 | spin_unlock_irqrestore(&bcm->lock, flags); |
3271 | 3273 | ||
3272 | bcm43xx_periodic_tasks_setup(bcm); | 3274 | bcm43xx_periodic_tasks_setup(bcm); |
3275 | bcm43xx_sysfs_register(bcm); | ||
3276 | //FIXME: check for bcm43xx_sysfs_register failure. This function is a bit messy regarding unwinding, though... | ||
3273 | 3277 | ||
3274 | assert(err == 0); | 3278 | assert(err == 0); |
3275 | out: | 3279 | out: |