aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx_main.c
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-02-21 12:19:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:18:39 -0500
commit1d1a73ccdc618168f2a5c962aab250605c93e517 (patch)
tree299cdcadc312e9db2088a25246c0ae7860d9918c /drivers/net/wireless/bcm43xx/bcm43xx_main.c
parentcad2b31a76763d06048fb23a17b062acd5d46639 (diff)
[PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup().
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
index 4a7d88d28211..899c06fe0bf5 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3366,6 +3366,7 @@ static void bcm43xx_periodic_tasks_setup(struct bcm43xx_private *bcm)
3366{ 3366{
3367 struct timer_list *timer = &(bcm->periodic_tasks); 3367 struct timer_list *timer = &(bcm->periodic_tasks);
3368 3368
3369 assert(bcm->initialized);
3369 setup_timer(timer, 3370 setup_timer(timer,
3370 bcm43xx_periodic_task_handler, 3371 bcm43xx_periodic_task_handler,
3371 (unsigned long)bcm); 3372 (unsigned long)bcm);