mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Explicit convert QDF_STATUS to tSirMacStatusCodes
Fix implicit conversion warning/error by explicitly converting QDF_STATUS to tSirMacStatusCodes in function lim_ft_send_aggr_qos_rsp. Change-Id: I4b554411588225150659921b42cd2db65761261b CRs-Fixed: 2071677
This commit is contained in:
parent
8070934344
commit
25735af347
1 changed files with 6 additions and 1 deletions
|
|
@ -860,7 +860,12 @@ lim_ft_send_aggr_qos_rsp(tpAniSirGlobal pMac, uint8_t rspReqd,
|
|||
rsp->aggrInfo.tspecIdx = aggrQosRsp->tspecIdx;
|
||||
for (i = 0; i < SIR_QOS_NUM_AC_MAX; i++) {
|
||||
if ((1 << i) & aggrQosRsp->tspecIdx) {
|
||||
rsp->aggrInfo.aggrRsp[i].status = aggrQosRsp->status[i];
|
||||
if (QDF_IS_STATUS_SUCCESS(aggrQosRsp->status[i]))
|
||||
rsp->aggrInfo.aggrRsp[i].status =
|
||||
eSIR_MAC_SUCCESS_STATUS;
|
||||
else
|
||||
rsp->aggrInfo.aggrRsp[i].status =
|
||||
eSIR_MAC_UNSPEC_FAILURE_STATUS;
|
||||
rsp->aggrInfo.aggrRsp[i].tspec = aggrQosRsp->tspec[i];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue