On Wed, 2008-08-06 at 09:13 -0400, Dan Williams wrote: > On Tue, 2008-08-05 at 18:48 -0400, Pavel Roskin wrote: > > > Scanning for a specific SSID never has "filtered" the results, nor > > > should it. It just probe-scans the requested SSID and return any new > > > results in with the cached ones. You requested an SSID scan, thus you > > > must know the SSID, thus you can do the filtering yourself? > > > > Perhaps I used a wrong word. If requesting a scan, I expect to get > > results from a scan with the parameters I supplied. If the scan results > > are from a scan with different parameters, I don't want them. I'd > > rather see the driver return EAGAIN than results of a scan with > > different parameters. > > I'm not quite sure what you mean here. You mean to say that if you > request a specific SSID scan, and the driver does not find that SSID, > that it should return EAGAIN? I think that would be overloading EAGAIN > too much, since for scans EAGAIN means "I'm not done with your scan > request yet". I mean, if we request a scan with some parameters, and the cached results were received with different parameters, and real scanning is impossible now for whatever reason, then return empty results and EAGAIN code. Anyway, we should have a policy for all drivers, so let's stick to that policy. -- Regards, Pavel Roskin -- 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