]> git.karo-electronics.de Git - linux-beck.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)
commitfcf9844636be1674a565afcdf6901e1cf37f09fb
tree80373cd6f13eb97dbd88e75d194214b5c4cf2fd9
parent694c0e0a177783ebf302f462237daa1e2f254025
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