|
@@ -3900,12 +3900,11 @@ hdd_roam_tdls_status_update_handler(hdd_adapter_t *pAdapter,
|
|
|
{
|
|
|
if (eSIR_SME_SUCCESS != pRoamInfo->statusCode) {
|
|
|
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);
|
|
|
break;
|
|
|
}
|