diff options
| author | Shengzhen Li <[email protected]> | 2016-11-18 19:30:24 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-11-19 09:18:46 +0200 |
| commit | eb2428fb1a21e7c813987118b0296135ddec0f24 (patch) | |
| tree | f470b971d48de4bc9c46b9367b4e34eb60006036 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 853402a0082315f6c4f38feeba2c6c81a393557c (diff) | |
mwifiex: check tx_hw_pending before downloading sleep confirm
We may get SLEEP event from firmware even if TXDone interrupt
for last Tx packet is still pending. In this case, we may
end up accessing PCIe memory for handling TXDone after power
save handshake is completed. This causes kernel crash with
external abort.
This patch will only allow downloading sleep confirm
when no tx done interrupt is pending in the hardware.
Signed-off-by: Cathy Luo <[email protected]>
Signed-off-by: Shengzhen Li <[email protected]>
Tested-by: Xinming Hu <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Reviewed-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions