about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/Force-online-state-with-unmanaged-devices.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/Force-online-state-with-unmanaged-devices.patch b/debian/patches/Force-online-state-with-unmanaged-devices.patch
index 628ccd77..dc528e3e 100644
--- a/debian/patches/Force-online-state-with-unmanaged-devices.patch
+++ b/debian/patches/Force-online-state-with-unmanaged-devices.patch
@@ -12,7 +12,7 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512286
  1 file changed, 120 insertions(+)
 
 diff --git a/src/nm-manager.c b/src/nm-manager.c
-index 5794bb9..d70d5ad 100644
+index 5794bb9..18d9de8 100644
 --- a/src/nm-manager.c
 +++ b/src/nm-manager.c
 @@ -60,6 +60,8 @@
@@ -65,16 +65,16 @@ index 5794bb9..d70d5ad 100644
  static void
  nm_manager_update_metered (NMManager *self)
  {
-@@ -850,6 +879,9 @@ nm_manager_update_state (NMManager *manager)
- 
- 	nm_connectivity_set_online (priv->connectivity, new_state >= NM_STATE_CONNECTED_LOCAL);
+@@ -848,6 +877,9 @@ nm_manager_update_state (NMManager *manager)
+ 	else
+ 		new_state = find_best_device_state (manager);
  
 +	if (new_state != NM_STATE_CONNECTED_GLOBAL)
 +		new_state = find_unmanaged_state (manager, new_state);
 +
+ 	nm_connectivity_set_online (priv->connectivity, new_state >= NM_STATE_CONNECTED_LOCAL);
+ 
  	if (new_state == NM_STATE_CONNECTED_SITE) {
- 		nm_connectivity_check_async (priv->connectivity,
- 		                             checked_connectivity,
 @@ -4587,6 +4619,65 @@ impl_manager_check_connectivity (NMManager *self,
  }