Fix frequency output in nm-tool

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2885 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-09-25 18:56:02 +00:00
parent 04f8d563fa
commit 55eab8b023

View file

@ -165,9 +165,9 @@ detail_network (gpointer data, gpointer user_data)
str = g_string_new (NULL);
g_string_append_printf (str,
"%s Mode, Freq %.3f MHz, Rate %d Mb/s, Strength %d",
"%s Mode, Freq %d MHz, Rate %d Mb/s, Strength %d",
(nm_access_point_get_mode (ap) == IW_MODE_INFRA) ? "Infrastructure" : "Ad-Hoc",
nm_access_point_get_frequency (ap) / 1000000000,
nm_access_point_get_frequency (ap),
nm_access_point_get_rate (ap) / 1024,
nm_access_point_get_strength (ap));