OSDN Git Service

ath6kl: don't force foreground scan when connected
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 21 Jul 2011 06:40:00 +0000 (09:40 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Aug 2011 16:45:22 +0000 (19:45 +0300)
commitb2c76bbe005cd23dfd80fe2140bd18daf4d3b16a
treeabac2bab68aa6254ef6137eb4133182c09bcb52a
parent575b5f34aa089cdaf92dda905d3b1dff1947f257
ath6kl: don't force foreground scan when connected

In my setup data transfer stalls when there's data transmission during
scan. After some testing I found out that using background scan
when connected to makes the problem go away. This is more like
a workaround than a proper fix, but as the stall is so severe the
workaround is justified.

With a dual band card this increases scan time when connected from
1.9s to 4.4s. When not connected the scan time is not affected and
is the same 1.9s.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c