On Tue, 2018-02-13 at 14:50 +0530, Tamizh chelvam wrote:
> 
> @@ -9903,8 +9906,10 @@ static int nl80211_set_cqm_rssi(struct genl_info *info,
>               prev = thresholds[i];
>       }
>  
> -     if (wdev->iftype != NL80211_IFTYPE_STATION &&
> -         wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)
> +     if ((wdev->iftype != NL80211_IFTYPE_STATION &&
> +          wdev->iftype != NL80211_IFTYPE_P2P_CLIENT &&
> +          !wiphy_ext_feature_isset(&rdev->wiphy,
> +                             NL80211_EXT_FEATURE_AP_STA_CQM_RSSI_CONFIG)))
>               return -EOPNOTSUPP;

This enables for everything though - not sure we want that?

johannes

Reply via email to