Search Linux Wireless

RE: mwifiex crash when removing interface while scanning

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

 



Hi Daniel,

> > If you have any suggestions for where to add debug messages, that
> > would be appreciated. Otherwise I will look into sprinkling a few
> > throughout the probe sequences to see if any communication succeeds
> > before the first error is printed.
> 
> For now, let's use dynamic_debug to collect some logs.
> 
> CONFIG_DYNAMIC_DEBUG=y
> 
> # run these commands before running the test script:
> echo "module mwifiex +p" > /sys/kernel/debug/dynamic_debug/control
> echo "module mwifiex_sdio +p" > /sys/kernel/debug/dynamic_debug/control

Running your test script on my XO-4 with 3.8 kernel does reproduce command timeout.
Although the timeout happens at different path than yours they could have the same cause.

Attached please find two patches that seems fix the FUNC_SHUTDOWN timeout on my XO-4.
Hope it helps.

Thanks,
Bing

Attachment: 0002-mwifiex-skip-pending-commands-after-function-shutdow.patch
Description: 0002-mwifiex-skip-pending-commands-after-function-shutdow.patch

Attachment: 0001-mwifiex-fix-race-when-queuing-commands.patch
Description: 0001-mwifiex-fix-race-when-queuing-commands.patch


[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