From 617aadd2a22db8503c2c3c116bda186471e7bc4a Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Thu, 31 May 2018 16:36:13 -0700 Subject: [PATCH] qcacld-3.0: Enable PNO feature in FW feature config Enable PNO feature in FW feature config such that WiFi kernel space driver can return proper PNO feature capability to user space. Change-Id: I1360050aab0224b109ee9b3912d1aa428f5a5ed7 CRs-Fixed: 2249491 --- core/wma/src/wma_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 388e4b628bf9..cc2229a28dd0 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -4822,8 +4822,10 @@ static inline void wma_update_target_services(struct wmi_unified *wmi_handle, wmi_service_early_rx); #ifdef FEATURE_WLAN_SCAN_PNO /* PNO offload */ - if (wmi_service_enabled(wmi_handle, wmi_service_nlo)) + if (wmi_service_enabled(wmi_handle, wmi_service_nlo)) { cfg->pno_offload = true; + g_fw_wlan_feat_caps |= (1 << PNO); + } #endif /* FEATURE_WLAN_SCAN_PNO */ #ifdef FEATURE_WLAN_EXTSCAN