mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 17:45:13 +08:00
Merge pull request #3752 from balanceTWK/master_wlan_pr
[components][wlan] 修复 rt_wlan_event_dispatch() 在某种情况下未传递 user_buff 的问题。
This commit is contained in:
@@ -713,7 +713,7 @@ static void rt_wlan_event_dispatch(struct rt_wlan_device *device, rt_wlan_dev_ev
|
||||
}
|
||||
COMPLETE_UNLOCK();
|
||||
#ifdef RT_WLAN_WORK_THREAD_ENABLE
|
||||
rt_wlan_send_to_thread(user_event, RT_NULL, 0);
|
||||
rt_wlan_send_to_thread(user_event, user_buff.data, user_buff.len);
|
||||
#else
|
||||
{
|
||||
void *user_parameter;
|
||||
|
||||
Reference in New Issue
Block a user