Search Linux Wireless

Re: mwifiex frequent "not allowed while suspended" crash on resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 19, 2013 at 12:43 AM, Bing Zhao <bzhao@xxxxxxxxxxx> wrote:
> I will think about how to serialize the resume/interrupt sequence.

As we haven't heard back from you in a while, and this is blocking
several things on our end, I had a quick look myself.

The problem seems to be TX soon after resume, and there does seem to
be a bit of a lack of synchronization here (i.e. mwifiex_main_process
should maybe avoid doing TX while the interface is suspended).

As a quick hack I added netdev_device_detach() early in suspend, and
netdev_device_attach() late in resume, and that seems to serialize
things. But I don't think its a good fix. Hopefully you can find a
solution that flows better with the mwifiex design.

Thanks
Daniel
--
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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux