summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorCathy Luo <cluo@marvell.com>2016-09-20 18:19:03 +0300
committerKalle Valo <kvalo@codeaurora.org>2016-09-26 20:39:42 +0300
commit5476f8030d9a9f7082ba5a4d4f0a1bfbf6936800 (patch)
tree478d84df8e7fc531d7fdb4df11bf6e8162168508 /net/lapb/lapb_timer.c
parent1afac196c16753f93d482eedb9aeb802e740e67e (diff)
downloadlinux-5476f8030d9a9f7082ba5a4d4f0a1bfbf6936800.tar.xz
mwifiex: fix race condition causing tx timeout
It's been observed that in a corner case mwifiex_usb_tx_complete() gets called before we exit from mwifiex_usb_host_to_card() after submitting the urb. 'data_sent' flag remains set in this case. It blocks further Tx packets and triggers watchdog timeout. The problem is fixed by setting data_sent and port_block flag at correct place. Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Shengzhen Li <szli@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions