The xpaBiasLvlFreq[] fields in the modal header also need swapping
when the EEPROM contents are byte-swapped.
This commit is contained in:
parent
1b59591956
commit
74e3a02137
@ -224,7 +224,10 @@ eepromSwap(struct ar5416eeprom *ee)
|
||||
integer = __bswap32(pModal->antCtrlChain[i]);
|
||||
pModal->antCtrlChain[i] = integer;
|
||||
}
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
word = __bswap16(pModal->xpaBiasLvlFreq[i]);
|
||||
pModal->xpaBiasLvlFreq[i] = word;
|
||||
}
|
||||
for (i = 0; i < AR5416_EEPROM_MODAL_SPURS; i++) {
|
||||
word = __bswap16(pModal->spurChans[i].spurChan);
|
||||
pModal->spurChans[i].spurChan = word;
|
||||
|
Loading…
Reference in New Issue
Block a user