qcacld-3.0: Fix incorrect typecast in txrx_ops handlers
Currently the opaque context passed to txrx_ops handlers is incorrectly typecasted to dp_intf. The context being passed is dp_link handle. This leads to unwanted memory access. Fix this by correctly typecasting the context passed to all the txrx_ops handlers as dp_link handle. Change-Id: I587b12056625bb68e86ecb54118bb2f6bfa62bd9 CRs-Fixed: 3569531
This commit is contained in:

committed by
Rahul Choudhary

parent
570e533669
commit
cd187812d3
@@ -1050,7 +1050,7 @@ static QDF_STATUS wlan_dp_get_tsf_time(void *dp_link_ctx,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#else
|
||||
static QDF_STATUS wlan_dp_get_tsf_time(void *dp_intf_ctx,
|
||||
static QDF_STATUS wlan_dp_get_tsf_time(void *dp_link_ctx,
|
||||
uint64_t input_time,
|
||||
uint64_t *tsf_time)
|
||||
{
|
||||
|
Reference in New Issue
Block a user