ath9k: Initialize channel change time
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 17 Feb 2009 10:06:25 +0000 (15:36 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:38 +0000 (14:52 -0500)
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>
drivers/net/wireless/ath9k/main.c

index cd9bab5..7264c4c 100644 (file)
@@ -1603,6 +1603,7 @@ int ath_attach(u16 devid, struct ath_softc *sc)
 
        hw->queues = 4;
        hw->max_rates = 4;
+       hw->channel_change_time = 5000;
        hw->max_rate_tries = ATH_11N_TXMAXTRY;
        hw->sta_data_size = sizeof(struct ath_node);
        hw->vif_data_size = sizeof(struct ath_vif);