Merge pull request #3752 from balanceTWK/master_wlan_pr

[components][wlan] 修复 rt_wlan_event_dispatch() 在某种情况下未传递 user_buff 的问题。
This commit is contained in:
Bernard Xiong 2020-07-18 16:14:21 +08:00 committed by GitHub
commit 3ea5ca2e1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;