Skip to content

Commit

Permalink
[PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup().
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 27, 2006
1 parent cad2b31 commit 1d1a73c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/bcm43xx/bcm43xx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d1a73c

Please sign in to comment.