[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>
This commit is contained in:
Michael Buesch 2006-02-21 18:19:59 +01:00 committed by John W. Linville
parent cad2b31a76
commit 1d1a73ccdc
1 changed files with 1 additions and 0 deletions

View File

@ -3366,6 +3366,7 @@ static void bcm43xx_periodic_tasks_setup(struct bcm43xx_private *bcm)
{
struct timer_list *timer = &(bcm->periodic_tasks);
assert(bcm->initialized);
setup_timer(timer,
bcm43xx_periodic_task_handler,
(unsigned long)bcm);