Skip to content

Commit 3ea5ca2

Browse files
authored
Merge pull request RT-Thread#3752 from balanceTWK/master_wlan_pr
[components][wlan] 修复 rt_wlan_event_dispatch() 在某种情况下未传递 user_buff 的问题。
2 parents 24ee160 + 43c0118 commit 3ea5ca2

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)