qcacld-3.0: Fix incorrect arg passed in dp_rx_pkt_thread_enqueue_cbk
Currently dp_rx_pkt_thread_enqueue_cbk passed dp_intf to dp_rx_packet_cbk, though it expects the caller to pass dp_link context. This leads to an invalid memory access due to incorrect typecasting. Fix this by passing the correct dp_link context to dp_rx_packet_cbk. Change-Id: If37fd18d49a6d5464e01c07160a1be612e564ffb CRs-Fixed: 3568233
This commit is contained in:

committed by
Rahul Choudhary

parent
b31b97faf7
commit
854bd8cafb
@@ -1362,7 +1362,7 @@ QDF_STATUS dp_rx_pkt_thread_enqueue_cbk(void *link_ctx,
|
||||
dp_intf = dp_link->dp_intf;
|
||||
if (dp_intf->runtime_disable_rx_thread &&
|
||||
dp_intf->txrx_ops.rx.rx_stack)
|
||||
return dp_intf->txrx_ops.rx.rx_stack(dp_intf, nbuf_list);
|
||||
return dp_intf->txrx_ops.rx.rx_stack(dp_link, nbuf_list);
|
||||
|
||||
link_id = dp_link->link_id;
|
||||
|
||||
|
Reference in New Issue
Block a user