mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 13:30:13 +01:00
Add BSSID to output
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2977 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
65f0247cdc
commit
b85dd0a01c
1 changed files with 3 additions and 2 deletions
|
|
@ -121,8 +121,9 @@ detail_access_point (gpointer data, gpointer user_data)
|
|||
|
||||
str = g_string_new (NULL);
|
||||
g_string_append_printf (str,
|
||||
"%s Mode, Freq %d MHz, Rate %d Mb/s, Strength %d",
|
||||
(nm_access_point_get_mode (ap) == IW_MODE_INFRA) ? "Infrastructure" : "Ad-Hoc",
|
||||
"%s, %s, Freq %d MHz, Rate %d Mb/s, Strength %d",
|
||||
(nm_access_point_get_mode (ap) == IW_MODE_INFRA) ? "Infra" : "Ad-Hoc",
|
||||
nm_access_point_get_hw_address (ap),
|
||||
nm_access_point_get_frequency (ap),
|
||||
nm_access_point_get_rate (ap) / 1024,
|
||||
nm_access_point_get_strength (ap));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue