diff -Nru network-manager-1.2.2/debian/changelog network-manager-1.2.2/debian/changelog --- network-manager-1.2.2/debian/changelog 2016-05-30 15:49:08.000000000 +0800 +++ network-manager-1.2.2/debian/changelog 2016-06-06 16:29:24.000000000 +0800 @@ -1,3 +1,10 @@ +network-manager (1.2.2-0ubuntu4) yakkety; urgency=medium + + * debian/patches/wifi-Signal-on-the-wifi-device-when-its-supplicant-i.patch: + Fix the regression that makes WiFi malfunctioned. (LP: #1585863) + + -- Shih-Yuan Lee (FourDollars) Mon, 06 Jun 2016 16:27:53 +0800 + network-manager (1.2.2-0ubuntu3) yakkety; urgency=medium * debian/NetworkManager.conf: Drop "dns=dnsmasq" option, so that NM stops diff -Nru network-manager-1.2.2/debian/patches/wifi-Signal-on-the-wifi-device-when-its-supplicant-i.patch network-manager-1.2.2/debian/patches/wifi-Signal-on-the-wifi-device-when-its-supplicant-i.patch --- network-manager-1.2.2/debian/patches/wifi-Signal-on-the-wifi-device-when-its-supplicant-i.patch 2016-05-30 15:49:08.000000000 +0800 +++ network-manager-1.2.2/debian/patches/wifi-Signal-on-the-wifi-device-when-its-supplicant-i.patch 2016-06-06 16:27:28.000000000 +0800 @@ -11,8 +11,7 @@ introspection/nm-device-wifi.xml | 7 +++++++ src/devices/wifi/nm-device-wifi.c | 10 ++++++++++ src/devices/wifi/nm-device-wifi.h | 1 + - src/supplicant-manager/nm-supplicant-interface.c | 2 +- - 4 files changed, 19 insertions(+), 1 deletion(-) + 3 files changed, 18 insertions(+), 0 deletion(-) diff --git a/introspection/nm-device-wifi.xml b/introspection/nm-device-wifi.xml index c1f378d..82b2742 100644 @@ -78,17 +77,3 @@ }; -diff --git a/src/supplicant-manager/nm-supplicant-interface.c b/src/supplicant-manager/nm-supplicant-interface.c -index ce7a2a2..f963ee7 100644 ---- a/src/supplicant-manager/nm-supplicant-interface.c -+++ b/src/supplicant-manager/nm-supplicant-interface.c -@@ -1334,8 +1334,8 @@ scan_request_cb (GDBusProxy *proxy, GAsyncResult *result, gpointer user_data) - g_dbus_error_strip_remote_error (error); - _LOGW ("could not get scan request result: %s", error->message); - } -+ g_signal_emit (self, signals[SCAN_DONE], 0, FALSE); - } -- g_signal_emit (self, signals[SCAN_DONE], 0, error ? FALSE : TRUE); - } - - gboolean