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)
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>

No differences found