commit 471d34704fb0d94a2b8b9f09c6cc816682496d38
parent 907a2fd7b9e7a9f0931ad6b5b97365203d9136d2
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 3 Aug 2022 14:36:35 -0700
wiphy: track self-managed flag
Check if the SELF_MANAGED_REG flag is set and set into wiphy.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -133,6 +133,7 @@ struct wiphy {
bool offchannel_tx_ok : 1;
bool blacklisted : 1;
bool registered : 1;
+ bool self_managed : 1;
};
static struct l_queue *wiphy_list = NULL;
@@ -1647,6 +1648,9 @@ static void wiphy_parse_attributes(struct wiphy *wiphy,
case NL80211_ATTR_ROAM_SUPPORT:
wiphy->support_fw_roam = true;
break;
+ case NL80211_ATTR_WIPHY_SELF_MANAGED_REG:
+ wiphy->self_managed = true;
+ break;
}
}
}