Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308085 | Differences between
and this patch

Collapse All | Expand All

(-)NetworkManager-0.8/src/nm-device-wifi.c (-2 / +7 lines)
Lines 1789-1799 Link Here
1789
	NMDeviceWifi *self = NM_DEVICE_WIFI (user_data);
1789
	NMDeviceWifi *self = NM_DEVICE_WIFI (user_data);
1790
	NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self);
1790
	NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self);
1791
	gboolean backoff = FALSE;
1791
	gboolean backoff = FALSE;
1792
	NMDeviceState state;
1793
1794
	state = nm_device_get_state (NM_DEVICE (self));
1792
1795
1793
	if (check_scanning_allowed (self)) {
1796
	if (check_scanning_allowed (self)) {
1794
		if (nm_supplicant_interface_request_scan (priv->supplicant.iface)) {
1797
		if (nm_supplicant_interface_request_scan (priv->supplicant.iface)) {
1795
			/* success */
1798
			if ((state == NM_DEVICE_STATE_ACTIVATED) || (nm_supplicant_interface_request_scan (priv->supplicant.iface))) {
1796
			backoff = TRUE;
1799
				/* success */
1800
				backoff = TRUE;
1801
			}
1797
		}
1802
		}
1798
	}
1803
	}
1799
1804

Return to bug 308085