[PATCH] hwsim tests: work around iw scan getting stuck

Jouni Malinen j
Sun Aug 2 11:53:49 PDT 2015

On Fri, Jul 17, 2015 at 10:24:58PM +0200, Johannes Berg wrote:
> On recent kernels, it seems that something changed (scheduler?)
> that makes hwsim send the scan done event so quickly that iw isn't
> scheduled back in to listen for it, causing iw to get stuck.
> Work around this by using the scan trigger command (it'll be quick
> enough so that we don't really need to wait) and the scan trigger
> and dump commands where the results are required (and use a small
> sleep there instead of waiting for the scan results.)

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list