diff options
author | Andy Kling <andreas.kling@peiker-cee.de> | 2019-02-20 13:23:26 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-07-29 11:00:24 +0200 |
commit | 4dc375a068e7d117968ffdea0b598c1c4fc88084 (patch) | |
tree | 40bb4d733fdab93e9f36c8942025d7b5dd9279dc /libnm-core/nm-core-internal.h | |
parent | ed4dd32cb9910e5a20db17b1ffaa133971861f8c (diff) | |
download | NetworkManager-4dc375a068e7d117968ffdea0b598c1c4fc88084.tar.gz |
libnm-core: add nm_utils_wifi_freq_to_band
allow to retrieve wifi band from frequency.
[lkundrak@v3.sk: formatting fixes, move the prototype to a private
header]
Diffstat (limited to 'libnm-core/nm-core-internal.h')
-rw-r--r-- | libnm-core/nm-core-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h index 912ce1b46e..d263900d1a 100644 --- a/libnm-core/nm-core-internal.h +++ b/libnm-core/nm-core-internal.h @@ -866,4 +866,6 @@ void _nm_bridge_vlan_str_append_rest (const NMBridgeVlan *vlan, gboolean nm_utils_connection_is_adhoc_wpa (NMConnection *connection); +const char *nm_utils_wifi_freq_to_band (guint32 freq); + #endif |