diff --git a/ChangeLog b/ChangeLog index 04ec3ba75..a2f06c862 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-06-23 Robert Love + + * src/NetworkManagerDevice.c: division in assignment was flipped. + 2005-06-23 David Zeuthen * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a diff --git a/src/NetworkManagerDevice.c b/src/NetworkManagerDevice.c index 1fdc5dc3d..5506b242f 100644 --- a/src/NetworkManagerDevice.c +++ b/src/NetworkManagerDevice.c @@ -2348,7 +2348,7 @@ static gboolean nm_device_wireless_wait_for_link (NMDevice *dev, const char *ess * also want the maximum to be based on what the card */ const guint delay = 30; const guint required_tries = 10; - const guint min_delay = 2 * (required_tries / delay); + const guint min_delay = 2 * (delay / required_tries); g_return_val_if_fail (dev != NULL, FALSE);