mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup().
Signed-off-by: Michael Buesch <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
cad2b31a76
commit
1d1a73ccdc
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue