3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

wiphy: Make wiphy_parse_id_and_name public

This commit is contained in:
Andrew Zaborowski 2019-04-11 03:10:22 +02:00 committed by Denis Kenzior
parent c06754a978
commit fd0892baf0
2 changed files with 5 additions and 3 deletions

View File

@ -573,11 +573,10 @@ static void wiphy_parse_attributes(struct wiphy *wiphy,
break;
}
}
}
static bool wiphy_parse_id_and_name(struct l_genl_attr *attr, uint32_t *out_id,
const char **out_name)
bool wiphy_parse_id_and_name(struct l_genl_attr *attr, uint32_t *out_id,
const char **out_name)
{
uint16_t type, len;
const void *data;

View File

@ -41,6 +41,9 @@ enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy,
enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
struct scan_bss *bss);
bool wiphy_parse_id_and_name(struct l_genl_attr *attr, uint32_t *out_id,
const char **out_name);
struct wiphy *wiphy_find(int wiphy_id);
const char *wiphy_get_path(struct wiphy *wiphy);