]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix hw roc expiration
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 31 Mar 2015 11:03:47 +0000 (11:03 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 15 Apr 2015 12:07:31 +0000 (15:07 +0300)
commitcf778da123fc22f8e78f390e0fdeb5a2ac8482ec
tree80373cd6f13eb97dbd88e75d194214b5c4cf2fd9
parentbab6bdeedd8720924fd16653179efa4f29a05f9a
ath10k: fix hw roc expiration

It is not guaranteed firmware will switch to
foreign channel immediately after starting scan
sequence. To account for that don't use duration
parameter for scan time. Instead request insanely
long scan and use timeout worker to cancel it from
driver.

This should improve P2P reliability a bit.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c