]> git.karo-electronics.de Git - linux-beck.git/commit
mwifiex: complete blocked power save handshake in main process
authorShengzhen Li <szli@marvell.com>
Fri, 18 Nov 2016 14:00:25 +0000 (19:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 19 Nov 2016 07:18:47 +0000 (09:18 +0200)
commit6712076883ca49532b4e15216fb69cde69a5a919
treeab0fda051ba94feb266a61ccd39eeae5b6170990
parenteb2428fb1a21e7c813987118b0296135ddec0f24
mwifiex: complete blocked power save handshake in main process

Power save handshake with firmware might be blocked by on-going
data transfer.
this patch check the PS status in main process and complete
previous blocked PS handshake.
this patch also remove redudant check before call
mwifiex_check_ps_cond function.

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Shengzhen Li <szli@marvell.com>
Tested-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c