On 06/02/17(Mon) 12:59, Stefan Sperling wrote: > On Mon, Feb 06, 2017 at 12:44:52PM +0100, Martin Pieuchot wrote: > > On 06/02/17(Mon) 12:39, Theo Buehler wrote: > > > This fixes the issue on my iwn0, but re-introduces the problem on my iwm0. > > > > That means another ioctl(2) triggers the problem with iwm(4). It would > > help if you could figure out which one. > > Probably SIOCS80211SCAN. Your diff doesn't touch ieee80211_ioctl().
My diff does touch ieee80211_ioctl(). Like that: ifioctl() -> pr_usrreq(PRU_CONTROL -> in_control( -> iwm_ioctl( -> ieee80211_ioctl(). Or do you know another path to reach this ioctl handler?