Commit 171387ef authored by Sujith's avatar Sujith Committed by John W. Linville

ath9k: Initialize channel change time

Set channel change time to 5ms, this will improve scan results.
Signed-off-by: default avatarSujith <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 70692ad2
...@@ -1603,6 +1603,7 @@ int ath_attach(u16 devid, struct ath_softc *sc) ...@@ -1603,6 +1603,7 @@ int ath_attach(u16 devid, struct ath_softc *sc)
hw->queues = 4; hw->queues = 4;
hw->max_rates = 4; hw->max_rates = 4;
hw->channel_change_time = 5000;
hw->max_rate_tries = ATH_11N_TXMAXTRY; hw->max_rate_tries = ATH_11N_TXMAXTRY;
hw->sta_data_size = sizeof(struct ath_node); hw->sta_data_size = sizeof(struct ath_node);
hw->vif_data_size = sizeof(struct ath_vif); hw->vif_data_size = sizeof(struct ath_vif);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment