diff options
author | Wojciech Dubowik <dubowoj@neratec.com> | 2011-02-18 07:06:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-21 15:39:56 -0500 |
commit | d985255e00e8a6a0d87b1dc674113bc76bed04a0 (patch) | |
tree | 4df217687c28442fda97278dcdaff5dad1a2e6c5 | |
parent | f456228365bf3615bc6837c363653f31df66abff (diff) |
ath5k: Enable AR2315 chipset recognition
Enable recognition of AR2315 chipsets in ath5k driver.
Reported-by: Simon Morgenthaler <s.morgenthaler@students.unibe.ch>
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/attach.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c index c71fdbb4c439..bc8240560488 100644 --- a/drivers/net/wireless/ath/ath5k/attach.c +++ b/drivers/net/wireless/ath/ath5k/attach.c | |||
@@ -220,7 +220,8 @@ int ath5k_hw_init(struct ath5k_softc *sc) | |||
220 | ah->ah_radio = AR5K_RF5112; | 220 | ah->ah_radio = AR5K_RF5112; |
221 | ah->ah_single_chip = false; | 221 | ah->ah_single_chip = false; |
222 | ah->ah_radio_5ghz_revision = AR5K_SREV_RAD_5112B; | 222 | ah->ah_radio_5ghz_revision = AR5K_SREV_RAD_5112B; |
223 | } else if (ah->ah_mac_version == (AR5K_SREV_AR2415 >> 4)) { | 223 | } else if (ah->ah_mac_version == (AR5K_SREV_AR2415 >> 4) || |
224 | ah->ah_mac_version == (AR5K_SREV_AR2315_R6 >> 4)) { | ||
224 | ah->ah_radio = AR5K_RF2316; | 225 | ah->ah_radio = AR5K_RF2316; |
225 | ah->ah_single_chip = true; | 226 | ah->ah_single_chip = true; |
226 | ah->ah_radio_5ghz_revision = AR5K_SREV_RAD_2316; | 227 | ah->ah_radio_5ghz_revision = AR5K_SREV_RAD_2316; |