mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Code refactoring in SAP start
qcacld-2.0 to qcacld-3.0 propagation This fix removes redundant cdf_mem_zero and cdf_mem_copy Change-Id: I757a2e14358403b7950868fd81d8e58ab3f829df CRs-Fixed: 796971
This commit is contained in:
parent
3c5dd4131d
commit
f47dfdffca
1 changed files with 0 additions and 4 deletions
|
|
@ -143,7 +143,6 @@ wlansap_open(void *p_cds_gctx) {
|
|||
#endif
|
||||
}
|
||||
|
||||
cdf_mem_zero(pSapCtx, sizeof(tSapContext));
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
Clean up SAP control block, initialize all values
|
||||
|
|
@ -526,9 +525,6 @@ wlansap_set_scan_acs_channel_params(tsap_Config_t *pconfig,
|
|||
* from HDD
|
||||
*/
|
||||
psap_ctx->csr_roamProfile.BSSIDs.numOfBSSIDs = 1;
|
||||
cdf_mem_copy(psap_ctx->csr_roamProfile.BSSIDs.bssid,
|
||||
psap_ctx->self_mac_addr,
|
||||
sizeof(struct cdf_mac_addr));
|
||||
|
||||
/*
|
||||
* Save a copy to SAP context
|
||||
|
|
|
|||
Loading…
Reference in a new issue