Le lundi 23 septembre 2013 11:13:49 Dan Williams a écrit : > On Sun, 2013-09-22 at 16:20 +0200, Detlev Casanova wrote: > > Le samedi 21 septembre 2013 22:51:59 Johannes Berg a écrit : > > > On Thu, 2013-09-19 at 07:58 +0200, Detlev Casanova wrote: > > > > Here is the output (attached file for formatting) > > > > > > Was that from the good case? The bad case would have been > > > > more > > > > > interesting. > > > > This is both cases. I made another one and here, I can give more > > details: > > > > Network manager is trying to list APs and fails until time > > 1379858724.386569 > > Ok, the logs indicate that the driver simply doesn't see any scan > results: > > 1379858724.381522: Received scan results (0 BSSes) > > Then 20 seconds later (after the explicit iwlist), it finds some scan > results: > > 1379858746.953924: Received scan results (3 BSSes) > > So I'm not sure what's going on here, but I don't think NetworkManager > is the issue; it's likely in the supplicant's scanning code or in the > driver itself. NetworkManager asks the supplicant to scan with both the > wildcard SSID and any hidden-tagged SSID, and the wildcard SSID should > ensure that all available APs are found. Yes and the problem is most likely to be in the driver because it doesn't occur before commit 0172bb75073e11a5aa9d8a953bdaefb8709f00c8 ("cfg80211: use DS or HT operation IEs to determine BSS channel") > Johannes, does anything else jump out at you in the logs? > > Dan > > > The The first "iwlist wlan0 scan" is done juste after the log line > > (1379858738.682054). It lists the APs in range in the console but > > not in the Network Manager ui. > > > > The second "iwlist wlan0 scan" is done at time 1379858739.802067 > > and APs are being listed in the console and in the Network Manager > > UI. > > > > After that, NM will connect to the acces point with SSID "Maison". > > > > It also looks like the listing in Network Manager comes between the > > moment "iwlist wlan0 scan" is run for the second time and the > > moment is shows its output on the console. > > > > Detlev. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html