提交 668158af 编写于 作者: S Sujith 提交者: John W. Linville

ath9k: Fix incorrect noise floor reading for 4k EEPROM

Signed-off-by: NSujith <Sujith.Manoharan@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0fd06c90
...@@ -439,7 +439,7 @@ static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah, ...@@ -439,7 +439,7 @@ static u32 ath9k_hw_4k_get_eeprom(struct ath_hw *ah,
switch (param) { switch (param) {
case EEP_NFTHRESH_2: case EEP_NFTHRESH_2:
return pModal[1].noiseFloorThreshCh[0]; return pModal->noiseFloorThreshCh[0];
case AR_EEPROM_MAC(0): case AR_EEPROM_MAC(0):
return pBase->macAddr[0] << 8 | pBase->macAddr[1]; return pBase->macAddr[0] << 8 | pBase->macAddr[1];
case AR_EEPROM_MAC(1): case AR_EEPROM_MAC(1):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册