From 0a8612209180db740de7e706e7f3c0807569b4db Mon Sep 17 00:00:00 2001 From: Will Huang Date: Thu, 22 Oct 2020 10:40:35 +0800 Subject: [PATCH] qcacld-3.0: Add back kernel backport versions Kernel version check of backport flag CFG80211_FILS_SK_OFFLOAD_SUPPORT was removed from hdd_update_connect_params_fils_info() by accident, add it back. Change-Id: Iaa42aea4fd0bd15c27b8f70412b6420ca25cd005 CRs-Fixed: 2800896 --- core/hdd/src/wlan_hdd_cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 6f72ee7d12..f7e1eb9e83 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -23539,7 +23539,8 @@ static void hdd_update_chan_info(struct hdd_context *hdd_ctx, #endif #if defined(WLAN_FEATURE_FILS_SK) &&\ - defined(CFG80211_FILS_SK_OFFLOAD_SUPPORT) &&\ + (defined(CFG80211_FILS_SK_OFFLOAD_SUPPORT) ||\ + (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))) &&\ (defined(CFG80211_UPDATE_CONNECT_PARAMS) ||\ (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)))