|
@@ -1438,14 +1438,14 @@ static u8 ath9k_hw_def_get_num_ant_config(struct ath_hw *ah,
|
|
|
return num_ant_config;
|
|
|
}
|
|
|
|
|
|
-static u16 ath9k_hw_def_get_eeprom_antenna_cfg(struct ath_hw *ah,
|
|
|
+static u32 ath9k_hw_def_get_eeprom_antenna_cfg(struct ath_hw *ah,
|
|
|
struct ath9k_channel *chan)
|
|
|
{
|
|
|
struct ar5416_eeprom_def *eep = &ah->eeprom.def;
|
|
|
struct modal_eep_header *pModal =
|
|
|
&(eep->modalHeader[IS_CHAN_2GHZ(chan)]);
|
|
|
|
|
|
- return pModal->antCtrlCommon & 0xFFFF;
|
|
|
+ return pModal->antCtrlCommon;
|
|
|
}
|
|
|
|
|
|
static u16 ath9k_hw_def_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz)
|