From 43c0118e8fca4a809bb3a8b043900e9caf19db12 Mon Sep 17 00:00:00 2001 From: tangweikang Date: Fri, 17 Jul 2020 15:28:52 +0800 Subject: [PATCH] =?UTF-8?q?[components][wlan]=20Fix=20for=20rt=5Fwlan=5Fev?= =?UTF-8?q?ent=5Fdispatch()=20not=20passing=20user=5Fbuff.=20|=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20rt=5Fwlan=5Fevent=5Fdispatch()=20=E6=9C=AA=E4=BC=A0?= =?UTF-8?q?=E9=80=92=20user=5Fbuff=20=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/wlan/wlan_mgnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/wlan/wlan_mgnt.c b/components/drivers/wlan/wlan_mgnt.c index cf2204c6b3..fefe700acc 100644 --- a/components/drivers/wlan/wlan_mgnt.c +++ b/components/drivers/wlan/wlan_mgnt.c @@ -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; -- GitLab