aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSubramania Sharma Thandaveswaran <sharmat@qca.qualcomm.com>2012-04-16 06:39:57 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-04-18 06:03:55 -0400
commitd472b5e43dadf7d819ec85464f2c93e696d8f109 (patch)
tree115c9a9c02ad67239fa01947ad1209d59eb40b43 /drivers
parenteb38987e899369d936c55f93f631062c417435d2 (diff)
ath6kl: Fix bug in bg scan configuration in schedule scan
Background scan interval should not be modified while starting schedule scanning as it changes the bg scan interval when connected to AP. Use the currently configured interval instead. kvalo: improve commit log Signed-off-by: Subramania Sharma <sharmat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 20881334da60..a5f4fd9ff467 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -3121,7 +3121,7 @@ static int ath6kl_cfg80211_sscan_start(struct wiphy *wiphy,
3121 3121
3122 ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 3122 ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx,
3123 interval, interval, 3123 interval, interval,
3124 10, 0, 0, 0, 3, 0, 0, 0); 3124 vif->bg_scan_period, 0, 0, 0, 3, 0, 0, 0);
3125 3125
3126 if (request->n_ssids && request->ssids[0].ssid_len) { 3126 if (request->n_ssids && request->ssids[0].ssid_len) {
3127 for (i = 0; i < request->n_ssids; i++) { 3127 for (i = 0; i < request->n_ssids; i++) {