diff --git a/src/wiphy.c b/src/wiphy.c index adc88cf1..59930371 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -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; diff --git a/src/wiphy.h b/src/wiphy.h index 9c721ddd..718880d7 100644 --- a/src/wiphy.h +++ b/src/wiphy.h @@ -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);