qcacld-3.0: Fix conversion from enum tSirResultCodes
Fix implicit conversion from enumeration type 'tSirResultCodes' (aka 'enum eSirResultCodes') to different enumeration type 'QDF_STATUS' [-Wenum-conversioni] Change-Id: I72cbfb99d22d4747890b14d474a36b3c36d1c655 CRs-Fixed: 2071677
This commit is contained in:

committed by
snandini

parent
3be41c29e6
commit
ed1215ed10
@@ -3900,12 +3900,11 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
|
|||||||
{
|
{
|
||||||
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
|
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
|
||||||
hdd_err("Add Sta failed. status code: %d",
|
hdd_err("Add Sta failed. status code: %d",
|
||||||
pRoamInfo->statusCode);
|
pRoamInfo->statusCode);
|
||||||
|
pAdapter->tdlsAddStaStatus = QDF_STATUS_E_FAILURE;
|
||||||
|
} else {
|
||||||
|
pAdapter->tdlsAddStaStatus = QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
/* store the ucast signature which will be used later when
|
|
||||||
* registering to TL
|
|
||||||
*/
|
|
||||||
pAdapter->tdlsAddStaStatus = pRoamInfo->statusCode;
|
|
||||||
complete(&pAdapter->tdls_add_station_comp);
|
complete(&pAdapter->tdls_add_station_comp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user