mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
wiphy: track self-managed flag
Check if the SELF_MANAGED_REG flag is set and set into wiphy.
This commit is contained in:
parent
907a2fd7b9
commit
471d34704f
@ -133,6 +133,7 @@ struct wiphy {
|
|||||||
bool offchannel_tx_ok : 1;
|
bool offchannel_tx_ok : 1;
|
||||||
bool blacklisted : 1;
|
bool blacklisted : 1;
|
||||||
bool registered : 1;
|
bool registered : 1;
|
||||||
|
bool self_managed : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct l_queue *wiphy_list = NULL;
|
static struct l_queue *wiphy_list = NULL;
|
||||||
@ -1647,6 +1648,9 @@ static void wiphy_parse_attributes(struct wiphy *wiphy,
|
|||||||
case NL80211_ATTR_ROAM_SUPPORT:
|
case NL80211_ATTR_ROAM_SUPPORT:
|
||||||
wiphy->support_fw_roam = true;
|
wiphy->support_fw_roam = true;
|
||||||
break;
|
break;
|
||||||
|
case NL80211_ATTR_WIPHY_SELF_MANAGED_REG:
|
||||||
|
wiphy->self_managed = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user