diff options
author | Vivek Natarajan <nataraja@qca.qualcomm.com> | 2011-09-19 03:59:16 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-09-22 03:36:53 -0400 |
commit | 011a36e1193c02abcdc4853be09275a0fe9d1a32 (patch) | |
tree | e009dfcf8d53e3c26cf6708881312fb1b3e5c467 /drivers | |
parent | f3674ee97b11c97c9d314a8dae1d1d281b90aea1 (diff) |
ath6kl: Indicate the roaming capability of the firmware
When the rssi of the current AP drops, both wpa_supplicant and the
firmware may do a background scan to find a better AP and try to
associate. This might lead to a race condition where both may try
to connect to some AP based on their scan results.
Since the firmware is capable of handling roaming, let
wpa_supplicant know about this capability so that it will back off
from bgscan based roaming.
Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index 7e10f712ae4d..80c532d7f46d 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c | |||
@@ -1487,6 +1487,8 @@ static int ath6kl_init(struct net_device *dev) | |||
1487 | ar->conf_flags = ATH6KL_CONF_IGNORE_ERP_BARKER | | 1487 | ar->conf_flags = ATH6KL_CONF_IGNORE_ERP_BARKER | |
1488 | ATH6KL_CONF_ENABLE_11N | ATH6KL_CONF_ENABLE_TX_BURST; | 1488 | ATH6KL_CONF_ENABLE_11N | ATH6KL_CONF_ENABLE_TX_BURST; |
1489 | 1489 | ||
1490 | ar->wdev->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM; | ||
1491 | |||
1490 | status = ath6kl_target_config_wlan_params(ar); | 1492 | status = ath6kl_target_config_wlan_params(ar); |
1491 | if (!status) | 1493 | if (!status) |
1492 | goto ath6kl_init_done; | 1494 | goto ath6kl_init_done; |