mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
wiphy: Make wiphy_parse_id_and_name public
This commit is contained in:
parent
c06754a978
commit
fd0892baf0
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user