3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-17 17:39:28 +01:00

wiphy: Add wiphy_get_name

This commit is contained in:
Denis Kenzior 2019-07-01 18:28:07 -05:00
parent 1bc59390fa
commit f72d9c2999
2 changed files with 6 additions and 0 deletions

View File

@ -343,6 +343,11 @@ const char *wiphy_get_driver(struct wiphy *wiphy)
return wiphy->driver_str;
}
const char *wiphy_get_name(struct wiphy *wiphy)
{
return wiphy->name;
}
const uint8_t *wiphy_get_permanent_address(struct wiphy *wiphy)
{
return wiphy->permanent_addr;

View File

@ -69,6 +69,7 @@ bool wiphy_supports_iftype(struct wiphy *wiphy, uint32_t iftype);
bool wiphy_supports_adhoc_rsn(struct wiphy *wiphy);
bool wiphy_can_offchannel_tx(struct wiphy *wiphy);
const char *wiphy_get_driver(struct wiphy *wiphy);
const char *wiphy_get_name(struct wiphy *wiphy);
const uint8_t *wiphy_get_permanent_address(struct wiphy *wiphy);
uint32_t wiphy_state_watch_add(struct wiphy *wiphy,