diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 8edf5c73ef7d..3f4d82a5793f 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -23731,7 +23731,8 @@ wlan_hdd_cfg80211_update_connect_params(struct wiphy *wiphy, #if defined(WLAN_FEATURE_SAE) && \ (defined(CFG80211_EXTERNAL_AUTH_SUPPORT) || \ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)) -#if defined(CFG80211_EXTERNAL_AUTH_AP_SUPPORT) +#if (defined(CFG80211_EXTERNAL_AUTH_AP_SUPPORT) || \ + LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)) /** * wlan_hdd_extauth_cache_pmkid() - Extract and cache pmkid * @adapter: hdd vdev/net_device context