summaryrefslogtreecommitdiffstats
path: root/scripts/bootgraph.pl
diff options
context:
space:
mode:
authorShengzhen Li <szli@marvell.com>2015-02-11 23:12:24 +0530
committerKalle Valo <kvalo@codeaurora.org>2015-02-27 10:08:40 +0200
commit04c7b363c9f7b05cb1bb94e14afbdd3661f9dd61 (patch)
treee7cfc11ba436f407c1d6488d1fafe8c54f679efc /scripts/bootgraph.pl
parent8a1959beca2b58dc0173ef42eb60476637e86ff9 (diff)
downloadlinux-04c7b363c9f7b05cb1bb94e14afbdd3661f9dd61.tar.gz
linux-04c7b363c9f7b05cb1bb94e14afbdd3661f9dd61.tar.bz2
linux-04c7b363c9f7b05cb1bb94e14afbdd3661f9dd61.zip
mwifiex: more_task flag for main_process
This patch handles a corner case where TX packet would remain in driver queue till next packet comes in. Here is sequence: 1. TX packet is queued via hard_start_xmit and main_work is queued 2. SDIO interrupt comes in which directly call mwifiex_main_process. This starts executing main superloop. 3. Now work from step1 is scheduled but at first check itself it sees mwifiex_processing is set and exits. 4. Now if superloop from step2 has passed TX processing part of superloop this packet would remain in queue until next packet/command/SDIO interrupt arrives and queues main_work. This patch fixes this corner case by defining more_task flag which is set when mwifiex_processing is found to be true. At end of superloop we again check if more_task flag is set and if set, execute superloop again. Signed-off-by: Shengzhen Li <szli@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/bootgraph.pl')
0 files changed, 0 insertions, 0 deletions