summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-04-01 14:53:00 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-04-01 15:15:09 +0200
commit759236681ca1d1a472c136aef4c571a0ee954056 (patch)
tree1f03c020d9925950b7b2c4e75626e15cfe6e8eb2
parent1bf2ffb61e79d3eefc4d4b79a30f551fe2833666 (diff)
downloadNetworkManager-759236681ca1d1a472c136aef4c571a0ee954056.tar.gz
trivial: make clear the maximum bitrate is in kbit/s
-rw-r--r--libnm-glib/nm-access-point.c6
-rw-r--r--libnm-glib/nm-device-wifi.c6
-rw-r--r--src/nm-wifi-ap.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c
index 3f6207c040..8668f2ff3d 100644
--- a/libnm-glib/nm-access-point.c
+++ b/libnm-glib/nm-access-point.c
@@ -236,9 +236,9 @@ nm_access_point_get_mode (NMAccessPoint *ap)
* nm_access_point_get_max_bitrate:
* @ap: a #NMAccessPoint
*
- * Gets the maximum bit rate of the access point.
+ * Gets the maximum bit rate of the access point in kbit/s.
*
- * Returns: the maximum bit rate
+ * Returns: the maximum bit rate (kbit/s)
**/
guint32
nm_access_point_get_max_bitrate (NMAccessPoint *ap)
@@ -660,7 +660,7 @@ nm_access_point_class_init (NMAccessPointClass *ap_class)
/**
* NMAccessPoint:max-bitrate:
*
- * The maximum bit rate of the access point.
+ * The maximum bit rate of the access point in kbit/s.
**/
g_object_class_install_property
(object_class, PROP_MAX_BITRATE,
diff --git a/libnm-glib/nm-device-wifi.c b/libnm-glib/nm-device-wifi.c
index e89813ea54..2436b90bbf 100644
--- a/libnm-glib/nm-device-wifi.c
+++ b/libnm-glib/nm-device-wifi.c
@@ -185,9 +185,9 @@ nm_device_wifi_get_mode (NMDeviceWifi *device)
* nm_device_wifi_get_bitrate:
* @device: a #NMDeviceWifi
*
- * Gets the bit rate of the #NMDeviceWifi.
+ * Gets the bit rate of the #NMDeviceWifi in kbit/s.
*
- * Returns: the bit rate
+ * Returns: the bit rate (kbit/s)
**/
guint32
nm_device_wifi_get_bitrate (NMDeviceWifi *device)
@@ -758,7 +758,7 @@ nm_device_wifi_class_init (NMDeviceWifiClass *wifi_class)
/**
* NMDeviceWifi:bitrate:
*
- * The bit rate of the device.
+ * The bit rate of the device in kbit/s.
**/
g_object_class_install_property
(object_class, PROP_BITRATE,
diff --git a/src/nm-wifi-ap.c b/src/nm-wifi-ap.c
index c68d808c17..363be2e326 100644
--- a/src/nm-wifi-ap.c
+++ b/src/nm-wifi-ap.c
@@ -1023,7 +1023,7 @@ nm_ap_set_freq (NMAccessPoint *ap,
/*
- * Get/set functions for max bitrate
+ * Get/set functions for max bitrate (in kbit/s)
*
*/
guint32 nm_ap_get_max_bitrate (NMAccessPoint *ap)