On Thu, 2006-04-13 at 11:06 +0200, Johannes Berg wrote: > > It's very likely that tools do indeed loop when they see EAGAIN, but > > this is a workaround, not the main mode of operation. It seems obvious > > to me that the get method should wait until the scan results are > > available. Perhaps the discussion had a specific scenario where > > EAGAIN would make sense, but I cannot imagine what it might be. > > Right, they do loop, but they don't have a method to indicate > completion. Thus we'd have to actually wait for the completion in the > kernel. Jean, what is the intended use here?
Hah, never mind, I guess we're just supposed to send SIOCGIWSCAN. Will send a patch in a minute. johannes
signature.asc
Description: This is a digitally signed message part