hostap: Free the buffer for TX status
Now that TX status buffer is allocated on heap by Zephyr driver, free the buffer once its processed. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no> Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
6f5d50fec9
commit
dbb5914f95
|
@ -455,6 +455,8 @@ static void event_socket_handler(int sock, void *eloop_ctx, void *user_data)
|
|||
os_free((char *)data->auth.ies);
|
||||
} else if (msg.event == EVENT_RX_MGMT) {
|
||||
os_free((char *)data->rx_mgmt.frame);
|
||||
} else if (msg.event == EVENT_TX_STATUS) {
|
||||
os_free((char *)data->tx_status.data);
|
||||
}
|
||||
|
||||
os_free(msg.data);
|
||||
|
|
Loading…
Reference in a new issue