Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d1a73cc authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

[PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup().

parent cad2b31a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);