diff options
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 3 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 3 | ||||
| -rw-r--r-- | CORE/SAP/inc/sapApi.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index ca4a056b3641..c3012e0a6f04 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -12718,6 +12718,9 @@ static int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter, WLANSAP_Set_Dfs_Ignore_CAC(hHal, iniConfig->ignoreCAC); + wlansap_set_tx_leakage_threshold(hHal, + iniConfig->sap_tx_leakage_threshold); + capab_info = pMgmt_frame->u.beacon.capab_info; pConfig->privacy = (pMgmt_frame->u.beacon.capab_info & diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index 9423e3264068..fe1357546c29 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -14596,9 +14596,6 @@ int hdd_wlan_startup(struct device *dev, v_VOID_t *hif_sc) /* Fwr capabilities received, Set the Dot11 mode */ sme_SetDefDot11Mode(pHddCtx->hHal); - wlansap_set_tx_leakage_threshold(pHddCtx->hHal, - pHddCtx->cfg_ini->sap_tx_leakage_threshold); - /* Register with platform driver as client for Suspend/Resume */ status = hddRegisterPmOps(pHddCtx); if ( !VOS_IS_STATUS_SUCCESS( status ) ) diff --git a/CORE/SAP/inc/sapApi.h b/CORE/SAP/inc/sapApi.h index 9e7ca4661c17..be366cbf475e 100644 --- a/CORE/SAP/inc/sapApi.h +++ b/CORE/SAP/inc/sapApi.h @@ -629,7 +629,7 @@ typedef struct sSapDfsInfo * channel switch is disabled. */ v_U8_t disable_dfs_ch_switch; - uint16_t tx_leakage_threshold; + uint16_t tx_leakage_threshold; } tSapDfsInfo; typedef struct tagSapCtxList |
