Skip to content

Commit 43c0118

Browse files
committed
[components][wlan] Fix for rt_wlan_event_dispatch() not passing user_buff. | 修复 rt_wlan_event_dispatch() 未传递 user_buff 的问题。
1 parent 24ee160 commit 43c0118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drivers/wlan/wlan_mgnt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ static void rt_wlan_event_dispatch(struct rt_wlan_device *device, rt_wlan_dev_ev
713713
}
714714
COMPLETE_UNLOCK();
715715
#ifdef RT_WLAN_WORK_THREAD_ENABLE
716-
rt_wlan_send_to_thread(user_event, RT_NULL, 0);
716+
rt_wlan_send_to_thread(user_event, user_buff.data, user_buff.len);
717717
#else
718718
{
719719
void *user_parameter;

0 commit comments

Comments
 (0)