未验证 提交 8e28732f 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2366 from enkiller/master

[components][drivers][wlan] 修复一处加锁错误
......@@ -1800,7 +1800,7 @@ rt_err_t rt_wlan_register_event_handler(rt_wlan_event_t event, rt_wlan_event_han
}
RT_WLAN_LOG_D("%s is run event:%d", __FUNCTION__, event);
MGNT_UNLOCK();
MGNT_LOCK();
/* Registering Callbacks */
level = rt_hw_interrupt_disable();
event_tab[event].handler = handler;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册