|
@@ -14961,7 +14961,8 @@ hdd_wiphy_set_max_sched_scans(struct wiphy *wiphy, uint8_t max_scans)
|
|
|
*
|
|
|
* Return: None
|
|
|
*/
|
|
|
-#if defined(CFG80211_REPORT_BETTER_BSS_IN_SCHED_SCAN)
|
|
|
+#if defined(CFG80211_REPORT_BETTER_BSS_IN_SCHED_SCAN) || \
|
|
|
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
|
|
|
static void wlan_hdd_cfg80211_add_connected_pno_support(struct wiphy *wiphy)
|
|
|
{
|
|
|
wiphy_ext_feature_set(wiphy,
|