summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-04 15:33:52 +0100
committerThomas Haller <thaller@redhat.com>2019-02-05 13:55:32 +0100
commit1a7303a04c8cf5a75df92c23952d5d80523d51a5 (patch)
treea6c599ee308687f7150fdd18e4f0cba996d41ae8
parent4aa34043da0d8de61ff9a5241f593555ddc86ba0 (diff)
downloadNetworkManager-1a7303a04c8cf5a75df92c23952d5d80523d51a5.tar.gz
wifi-p2p: fix spelling of "timeout" argument in "StartFind"
Also in the documentation it's spelled as "timeout" Fixes: dd0c59c468fb8bf8b728dec1592be1589e9a04eb
-rw-r--r--src/devices/wifi/nm-device-wifi-p2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-device-wifi-p2p.c b/src/devices/wifi/nm-device-wifi-p2p.c
index 98b28e5c49..508ff65f51 100644
--- a/src/devices/wifi/nm-device-wifi-p2p.c
+++ b/src/devices/wifi/nm-device-wifi-p2p.c
@@ -1010,7 +1010,7 @@ impl_device_wifi_p2p_start_find (NMDBusObject *obj,
g_variant_get (parameters, "(@a{sv})", &options);
- if (!g_variant_lookup (options, "Timeout", "i", &timeout)) {
+ if (!g_variant_lookup (options, "timeout", "i", &timeout)) {
/* Default to running a find for 30s. */
timeout = 30;
}