wlan: LFR2.0 Host Driver Changes
Master Gerrit for WLAN_FEATURE_ROAM_SCAN_OFFLOAD.
Includes all the Host Driver Changes.
Change-Id: I1c7adb30b24b49c6f2b5c3de3394831812b1c6d0
CRs-Fixed: 460568
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 868f9e6..936598a 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -5178,6 +5178,15 @@
#endif //WLAN_BTAMP_FEATURE
+#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
+ if(!(IS_ROAM_SCAN_OFFLOAD_FEATURE_ENABLE))
+ {
+ hddLog(VOS_TRACE_LEVEL_DEBUG,"%s: ROAM_SCAN_OFFLOAD Feature not supported",__func__);
+ pHddCtx->cfg_ini->isRoamOffloadScanEnabled = 0;
+ sme_UpdateRoamScanOffloadEnabled((tHalHandle)(pHddCtx->hHal),
+ pHddCtx->cfg_ini->isRoamOffloadScanEnabled);
+ }
+#endif
#ifdef FEATURE_WLAN_SCAN_PNO
/*SME must send channel update configuration to RIVA*/
sme_UpdateChannelConfig(pHddCtx->hHal);