qcacld-3.0: Remove error logging issue during successful SAP creation

Successful starting of SAP interface has logging
issue and even in case SAP is restarted successfully
it logs error message. Return after mutex unload
during success path and do not log the error message.

Change-Id: Iaf888a2de2bfcc5d52ce8f57e888699eb66ab8ac
CRs-fixed: 2137675
This commit is contained in:
Sourav Mohapatra 2017-11-08 09:36:11 +05:30 • committed by snandini
commit 9bc6711eab

View file

@ -10892,6 +10892,9 @@ void wlan_hdd_start_sap(struct hdd_adapter *ap_adapter, bool reinit)
policy_mgr_incr_active_session(hdd_ctx->hdd_psoc,
ap_adapter->device_mode,
ap_adapter->session_id);
mutex_unlock(&hdd_ctx->sap_lock);
return;
end:
mutex_unlock(&hdd_ctx->sap_lock);
/* SAP context and beacon cleanup will happen during driver unload