summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2010-06-25 14:47:02 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-06-25 14:47:02 -0700
commite691e19e05c2cef72cd7f81bcae4195c81d4bf51 (patch)
treee5a231ecfb36f4fa335b64f1300ce9f831678eee /drivers/net/wireless/ath/ath5k
parent47399f1a7d2059c89df7a1116024d0cd9bc240fa (diff)
parent062bee448bd539580ef9f64efe50fdfe04eeb103 (diff)
Merge branch 'wireless-2.6' into wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
-rw-r--r--drivers/net/wireless/ath/ath5k/attach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c
index ef2dc1dd3a5..b32e28caeee 100644
--- a/drivers/net/wireless/ath/ath5k/attach.c
+++ b/drivers/net/wireless/ath/ath5k/attach.c
@@ -126,6 +126,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
ah->ah_ant_mode = AR5K_ANTMODE_DEFAULT;
ah->ah_noise_floor = -95; /* until first NF calibration is run */
sc->ani_state.ani_mode = ATH5K_ANI_MODE_AUTO;
+ ah->ah_current_channel = &sc->channels[0];
/*
* Find the mac version