From eca4d33050bb7407054c7b9377e43e82c5164abb Mon Sep 17 00:00:00 2001 From: Robert Love Date: Fri, 4 Nov 2005 20:57:59 +0000 Subject: [PATCH] misc. comment updates. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1099 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- src/NetworkManagerDevice.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NetworkManagerDevice.c b/src/NetworkManagerDevice.c index 7d398ccc3c..a28cccdf42 100644 --- a/src/NetworkManagerDevice.c +++ b/src/NetworkManagerDevice.c @@ -2535,18 +2535,18 @@ static gboolean nm_device_wireless_wait_for_link (NMDevice *dev, const char *ess /* we want to sleep for a very short amount of time, to minimize * hysteresis on the boundaries of our required time. But we - * also want the maximum to be based on what the card */ + * also want the maximum to be based on what the card can handle. */ const guint delay = 30; const guint required_tries = 10; const guint min_delay = 2 * (delay / required_tries); g_return_val_if_fail (dev != NULL, FALSE); - /* for cards which don't scan many frequencies, this will return + /* for cards that don't scan many frequencies, this will return * 5 seconds, which we'll bump up to 6 seconds below. Oh well. */ timeout.tv_sec = (time_t) nm_device_get_association_pause_value (dev); - /* Refuse to to have a timeout that's _less_ than twice the total time + /* Refuse to have a timeout that's _less_ than twice the total time * required before calling a link valid */ if (timeout.tv_sec < min_delay) timeout.tv_sec = min_delay;