]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: add delay when tdls confirm frame is queued
authorXinming Hu <huxm@marvell.com>
Tue, 23 Feb 2016 13:16:16 +0000 (05:16 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Mar 2016 12:26:27 +0000 (14:26 +0200)
commit110baf546bd066094382791b17d379954e2b3d0f
treeb5ab29dedd36d0581704b4c2fc4146e484fd4364
parent30e7a7cea499d5f544ffe563a97a6d9b26dad4b4
mwifiex: add delay when tdls confirm frame is queued

It is observed that driver may send the data packet to tdls peer
before tdls peer receives tdls setup confirm frame.
Similar race condition exists during tdls teardown procedure also.
This patch adds 10 milliseconds delay to resolve the race.

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