eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit fd0892baf02792ff8bd3fd0a59740b8258e75b04
parent c06754a9788cb7d49e8546f24bf17ec9309f413a
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Thu, 11 Apr 2019 03:10:22 +0200

wiphy: Make wiphy_parse_id_and_name public

Diffstat:
Msrc/wiphy.c | 5++---
Msrc/wiphy.h | 3+++
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git 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 @@ -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);