qcacld-3.0: Fix lim_tx_complete() signature
lim_tx_complete() is currently defined to take a tHalHandle as the first param. However the generic signature of a TX callback function specifies that the first param should be a void *context. This currently compiles because tHalHandle is defined to be a void *, but this will soon be changed, so update lim_tx_complete() to explicitly use a void *context. Change-Id: I421e8acb25beed23d2f3803380a46db33b6f0964 CRs-Fixed: 2267443
This commit is contained in:
parent
82664a6294
commit
8390fe23d8
@ -4224,7 +4224,7 @@ lim_enable_short_preamble(tpAniSirGlobal pMac, uint8_t enable,
|
||||
*
|
||||
* @return QDF_STATUS_SUCCESS - in case of success
|
||||
*/
|
||||
QDF_STATUS lim_tx_complete(tHalHandle hHal, qdf_nbuf_t buf, bool free)
|
||||
QDF_STATUS lim_tx_complete(void *context, qdf_nbuf_t buf, bool free)
|
||||
{
|
||||
if (free)
|
||||
cds_packet_free((void *)buf);
|
||||
|
@ -435,7 +435,7 @@ void lim_util_count_sta_del(tpAniSirGlobal pMac, tpDphHashNode pSta,
|
||||
tpPESession psessionEntry);
|
||||
|
||||
uint8_t lim_get_ht_capability(tpAniSirGlobal, uint32_t, tpPESession);
|
||||
QDF_STATUS lim_tx_complete(tHalHandle hHal, qdf_nbuf_t buf, bool free);
|
||||
QDF_STATUS lim_tx_complete(void *context, qdf_nbuf_t buf, bool free);
|
||||
|
||||
/**
|
||||
* This function will be registered with HAL for callback when TSPEC inactivity
|
||||
|
Loading…
Reference in New Issue
Block a user