]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix value of scan timeout
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 15 May 2020 08:33:10 +0000 (10:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 13:50:40 +0000 (15:50 +0200)
commitd748fc1788616d80f751828fb8523428be9c00aa
tree957b43cd183c3e078f54d496149fbb95a420c5cc
parent65116eb78eb5e53f70a3e0c6c681d54e91aca30b
staging: wfx: fix value of scan timeout

Before to start the scan request, the firmware signals (with a null
frame) to the AP it won't be able to receive data. This frame can be
long to send: up to 512TU. The current calculus of the scan timeout does
not take into account this delay.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200515083325.378539-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_tx.c