aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-17 05:06:25 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:38 -0500
commit171387ef0a374e04a8167a3a1292e19fd1335f20 (patch)
tree3037930980e37bef950f26b1eef9e5cd5ffc949a /drivers
parent70692ad2923a379e0a10f9ec2ad93fbbe084cc46 (diff)
ath9k: Initialize channel change time
Set channel change time to 5ms, this will improve scan results. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath9k/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index cd9bab54dd70..7264c4c36a5f 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -1603,6 +1603,7 @@ int ath_attach(u16 devid, struct ath_softc *sc)
1603 1603
1604 hw->queues = 4; 1604 hw->queues = 4;
1605 hw->max_rates = 4; 1605 hw->max_rates = 4;
1606 hw->channel_change_time = 5000;
1606 hw->max_rate_tries = ATH_11N_TXMAXTRY; 1607 hw->max_rate_tries = ATH_11N_TXMAXTRY;
1607 hw->sta_data_size = sizeof(struct ath_node); 1608 hw->sta_data_size = sizeof(struct ath_node);
1608 hw->vif_data_size = sizeof(struct ath_vif); 1609 hw->vif_data_size = sizeof(struct ath_vif);