Merge pull request #3752 from balanceTWK/master_wlan_pr
[components][wlan] 修复 rt_wlan_event_dispatch() 在某种情况下未传递 user_buff 的问题。
This commit is contained in:
commit
3ea5ca2e1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue