提交 1d1a73cc 编写于 作者: M Michael Buesch 提交者: John W. Linville

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

Signed-off-by: NMichael Buesch <mbuesch@freenet.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 cad2b31a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册