mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 11:52:34 +01:00
wiphy: Add wiphy_get_name
This commit is contained in:
parent
1bc59390fa
commit
f72d9c2999
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user