mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
qcacld-3.0: Restore pMac->sap.sapCtxList in start_ap context
qcacld-2.0 to qcacld-3.0 propagation sap_OpenSession is called in add_virtual_intf context, while sap_CloseSession is called in stop_ap context. Sap can't start successfully in dfs channel if hostapd is killed and restarted, because sap_CloseSession clears pMac->sap.sapCtxList. Restored pMac->sap.sapCtxList in start_ap context. CRs-Fixed: 2032512 Change-Id: Ief31b4994ad74159795619f3d4f13891f28585de
This commit is contained in:
parent
5c84990ecc
commit
1fe8a4759b
1 changed files with 5 additions and 0 deletions
|
|
@ -958,6 +958,11 @@ QDF_STATUS wlansap_start_bss(void *pCtx, /* pwextCtx */
|
|||
*/
|
||||
pmac->sap.SapDfsInfo.disable_dfs_ch_switch =
|
||||
pConfig->disableDFSChSwitch;
|
||||
pmac->sap.sapCtxList[pSapCtx->sessionId].pSapContext = pSapCtx;
|
||||
pmac->sap.sapCtxList[pSapCtx->sessionId].sapPersona =
|
||||
pSapCtx->csr_roamProfile.csrPersona;
|
||||
pmac->sap.sapCtxList[pSapCtx->sessionId].sessionID =
|
||||
pSapCtx->sessionId;
|
||||
|
||||
/* Copy MAC filtering settings to sap context */
|
||||
pSapCtx->eSapMacAddrAclMode = pConfig->SapMacaddr_acl;
|
||||
|
|
|
|||
Loading…
Reference in a new issue