Merge pull request #2366 from enkiller/master

[components][drivers][wlan] 修复一处加锁错误
This commit is contained in:
Bernard Xiong 2019-02-25 23:09:25 +08:00 committed by GitHub
commit 8e28732fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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); RT_WLAN_LOG_D("%s is run event:%d", __FUNCTION__, event);
MGNT_UNLOCK(); MGNT_LOCK();
/* Registering Callbacks */ /* Registering Callbacks */
level = rt_hw_interrupt_disable(); level = rt_hw_interrupt_disable();
event_tab[event].handler = handler; event_tab[event].handler = handler;