It looks like this bug was introduced in Ubuntu when the rebase to NM
0.9.10.0 occurred.
The function supplicant_iface_scan_done_cb is missing a call to
schedule_scan() which exists in the 0.9.8.x version of NM in utopic. It
looks to me like the patch cull_aps_on_scan_done_signal.patch got
mangled and lost its call to schedule_scan(). Furthermore, when this
patch got re-worked and copied into the patch 0002-wifi-cull-the-scan-
list-before-signalling-ScanDone-b.patch, the same mistake was carried
over. I checked and all of the upstream releases of NM still have a
schedule_scan() present in this function.
Here's a diff of the cull_aps_on_scan_done_signal.patch from NM 0.9.10.0
to the older 0.9.8.X version:
espy@shrike:% diff cull_aps_on_scan_done_signal.patch
~/dev/nm/nm-utopic-save/debian/patches/
10,14c10
< ---
< src/devices/wifi/nm-device-wifi.c | 29 ++++++++++++++++++++++++-----
< 1 file changed, 24 insertions(+), 5 deletions(-)
<
< Index: b/src/devices/wifi/nm-device-wifi.c
---
> Index: network-manager-0.9.8.8/src/nm-device-wifi.c
16,18c12,14
< --- a/src/devices/wifi/nm-device-wifi.c
< +++ b/src/devices/wifi/nm-device-wifi.c
< @@ -183,6 +183,10 @@ static void supplicant_iface_notify_scan
---
> --- network-manager-0.9.8.8.orig/src/nm-device-wifi.c
> +++ network-manager-0.9.8.8/src/nm-device-wifi.c
> @@ -200,6 +200,10 @@ static void supplicant_iface_notify_scan
29c25
< @@ -1609,14 +1613,20 @@ supplicant_iface_scan_done_cb (NMSupplic
---
> @@ -1810,14 +1814,22 @@ supplicant_iface_scan_done_cb (NMSupplic
50a47,50
> +
> + schedule_scan (self, success);
> }
>
52,54c52
< if (priv->requested_scan) {
< priv->requested_scan = FALSE;
< @@ -1836,13 +1846,22 @@ cull_scan_list (NMDeviceWifi *self)
---
> @@ -2005,13 +2017,22 @@ cull_scan_list (NMDeviceWifi *self)
I'll rebuild with the line restored and report results.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1445134
Title:
Network manager never scanning for new access points
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1445134/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs