summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/attach.c
diff options
context:
space:
mode:
authorNick Kossifidis2010-11-23 19:58:34 +0100
committerJohn W. Linville2010-11-30 19:52:33 +0100
commitfa3d2feeff4723cce8d4722902492d60b7f75fcc (patch)
tree928d112aef6ced8d487ede33619af76853cdbe84 /drivers/net/wireless/ath/ath5k/attach.c
parentath5k: Use new function to stop beacon queue (diff)
downloadkernel-qcow2-linux-fa3d2feeff4723cce8d4722902492d60b7f75fcc.tar.gz
kernel-qcow2-linux-fa3d2feeff4723cce8d4722902492d60b7f75fcc.tar.xz
kernel-qcow2-linux-fa3d2feeff4723cce8d4722902492d60b7f75fcc.zip
ath5k: Add new field on ath5k_hw to track bandwidth modes
* Prepare for half/quarter/turbo support, introduce a new ah_bwmode parameter and get rid of ah_turbo. Bwmode stands for "bandwidth mode" and can have 4 values, default (20MHz), turbo (40MHz), half rate (10MHz), and quarter rate (5MHz). Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c
index fbe8aca975d8..ed86b9dde1b4 100644
--- a/drivers/net/wireless/ath/ath5k/attach.c
+++ b/drivers/net/wireless/ath/ath5k/attach.c
@@ -115,7 +115,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
* HW information
*/
ah->ah_radar.r_enabled = AR5K_TUNE_RADAR_ALERT;
- ah->ah_turbo = false;
+ ah->ah_bwmode = AR5K_BWMODE_DEFAULT;
ah->ah_txpower.txp_tpc = AR5K_TUNE_TPC_TXPOWER;
ah->ah_imr = 0;
ah->ah_limit_tx_retries = AR5K_INIT_TX_RETRY;