summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-access-point.c
diff options
context:
space:
mode:
authorAlberto Ruiz <alberto.ruiz@canonical.com>2012-01-13 09:40:26 -0600
committerDan Williams <dcbw@redhat.com>2012-01-13 09:40:26 -0600
commit4f72ed22964e372f80b2352869cd54da1cb20637 (patch)
tree830833915f34651160aca2c1331debac1cee750b /libnm-glib/nm-access-point.c
parentfc66e8514626522e06548c20703eca2b01f9cfbc (diff)
downloadNetworkManager-4f72ed22964e372f80b2352869cd54da1cb20637.tar.gz
docs: fix section header name for nm_access_point_connection_valid()
nm_access_point_connection_valid documentation had nm_access_point_filter_connection as the section string, probably a typo after copy pasting
Diffstat (limited to 'libnm-glib/nm-access-point.c')
-rw-r--r--libnm-glib/nm-access-point.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c
index 97464c4a27..5886414468 100644
--- a/libnm-glib/nm-access-point.c
+++ b/libnm-glib/nm-access-point.c
@@ -359,7 +359,7 @@ nm_access_point_get_strength (NMAccessPoint *ap)
}
/**
- * nm_access_point_filter_connections:
+ * nm_access_point_connection_valid:
* @ap: an #NMAccessPoint to validate @connection against
* @connections: an #NMConnection to validate against @ap
*
@@ -368,11 +368,6 @@ nm_access_point_get_strength (NMAccessPoint *ap)
* @ap's SSID, (if given) BSSID, and other attributes like security settings,
* channel, band, etc.
*
- * To obtain the list of connections that are compatible with this access point,
- * use nm_remote_settings_list_connections() and then filter the returned list
- * for a given #NMDevice using nm_device_filter_connections() and finally
- * filter that list with this function.
- *
* Returns: %TRUE if the connection may be activated with this WiFi AP,
* %FALSE if it cannot be.
**/
@@ -480,6 +475,11 @@ nm_access_point_connection_valid (NMAccessPoint *ap, NMConnection *connection)
* returned connections will match the @ap's SSID and (if given) BSSID and
* other attributes like security settings, channel, etc.
*
+ * To obtain the list of connections that are compatible with this access point,
+ * use nm_remote_settings_list_connections() and then filter the returned list
+ * for a given #NMDevice using nm_device_filter_connections() and finally
+ * filter that list with this function.
+ *
* Returns: (transfer container) (element-type NetworkManager.Connection): a
* list of #NMConnection objects that could be activated with the given @ap.
* The elements of the list are owned by their creator and should not be freed