xiaoxiang781216 commented on code in PR #17980:
URL: https://github.com/apache/nuttx/pull/17980#discussion_r2701121655


##########
arch/sim/src/sim/sim_wifihost.c:
##########
@@ -1036,8 +1037,8 @@ static int wifi_send_event(struct net_driver_s *dev, 
unsigned int cmd,
 
   /* Allocate the response buffer */
 
-  alloc = (struct wireless_event_list_s *)
-          kmm_zalloc(RTA_SPACE(sizeof(struct wireless_event_list_s)));
+  alloc = (struct wireless_event_list_s *)mm_zalloc(g_mmheap,

Review Comment:
   why need change to mm_zalloc



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to