diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-13 12:17:09 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-13 12:17:09 -0800 |
commit | a003460b21323ddb29479505d9555f0985b8b2f1 (patch) | |
tree | c8c7f2e70d5fdfc91f0ae2b1bd4b7a27913eb1d2 /drivers/net/wireless/ath/ath5k/eeprom.c | |
parent | 964ad81cbd933e5fa310faeec1e923c14651284b (diff) | |
parent | dee60269f0fe90927ce5095eef3a8723bbb9c53e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/eeprom.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/eeprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/eeprom.c b/drivers/net/wireless/ath/ath5k/eeprom.c index 6a3f4da7fb48..10b52262b232 100644 --- a/drivers/net/wireless/ath/ath5k/eeprom.c +++ b/drivers/net/wireless/ath/ath5k/eeprom.c @@ -429,8 +429,8 @@ static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, ee->ee_margin_tx_rx[mode] = (val >> 8) & 0x3f; AR5K_EEPROM_READ(o++, val); - ee->ee_i_cal[mode] = (val >> 8) & 0x3f; - ee->ee_q_cal[mode] = (val >> 3) & 0x1f; + ee->ee_i_cal[mode] = (val >> 5) & 0x3f; + ee->ee_q_cal[mode] = val & 0x1f; if (ah->ah_ee_version >= AR5K_EEPROM_VERSION_4_2) { AR5K_EEPROM_READ(o++, val); |