mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 18:00:30 +01:00
libnm-glib: don't use deprecated nm_access_point_get_hw_address()
nm_access_point_get_hw_address() is already deprecated since pre-0.9.0-beta3 (f30e15a04d). However, it also is defined as NM_DEPRECATED_IN_0_9_10, because there are no deprecated macros for previous version. Signed-off-by: Thomas Haller <thaller@redhat.com> (cherry picked from commitb633711572)
This commit is contained in:
parent
379951d39f
commit
cb38830e26
2 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ show_access_point_info (NMAccessPoint *ap)
|
|||
wpa_flags = nm_access_point_get_wpa_flags (ap);
|
||||
rsn_flags = nm_access_point_get_rsn_flags (ap);
|
||||
ssid = nm_access_point_get_ssid (ap);
|
||||
hwaddr = nm_access_point_get_hw_address (ap);
|
||||
hwaddr = nm_access_point_get_bssid (ap);
|
||||
freq = nm_access_point_get_frequency (ap);
|
||||
mode = nm_access_point_get_mode (ap);
|
||||
bitrate = nm_access_point_get_max_bitrate (ap);
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ dump_access_point (NMAccessPoint *ap)
|
|||
g_print ("\tSsid: %s\n",
|
||||
ssid ? nm_utils_escape_ssid (ssid->data, ssid->len) : "(none)");
|
||||
|
||||
str = nm_access_point_get_hw_address (ap);
|
||||
str = nm_access_point_get_bssid (ap);
|
||||
g_print ("\tMAC Address: %s\n", str);
|
||||
|
||||
g_print ("\tFlags: 0x%X\n", nm_access_point_get_flags (ap));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue