Re: [PATCH v5 1/5] wifi: nl80211: add roam offload extended feature

From: Johannes Berg

Date: Fri Sep 04 2026 - 04:44:31 EST


On Fri, 2026-08-21 at 15:56 +0800, Jason Huang wrote:

> @@ -18442,8 +18443,10 @@ static int nl80211_set_pmk(struct sk_buff *skb, struct genl_info *info)
> wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)
> return -EOPNOTSUPP;
>
> - if (!wiphy_ext_feature_isset(&rdev->wiphy,
> - NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X))
> + if (!wiphy_ext_feature_isset(wiphy,
> + NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X) &&
> + !wiphy_ext_feature_isset(wiphy,
> + NL80211_EXT_FEATURE_ROAM_OFFLOAD))
> return -EOPNOTSUPP;

Shouldn't you have a similar change in _del_pmk()?

johannes