mt76: mt7615: fix endian issues in applying flash calibration data

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-04-06 16:54:00 +02:00
parent bf60f43b12
commit 9406eb1d11
+2 -2
View File
@@ -2938,7 +2938,7 @@ int mt7615_mcu_apply_rx_dcoc(struct mt7615_phy *phy)
} req = {
.direction = 1,
.center_freq = chandef->center_freq1,
.center_freq = cpu_to_le16(chandef->center_freq1),
.bw = mt7615_mcu_chan_bw(chandef),
.band = chandef->center_freq1 > 4000,
.dbdc_en = !!dev->mt76.phy2,
@@ -3058,7 +3058,7 @@ int mt7615_mcu_apply_tx_dpd(struct mt7615_phy *phy)
} req = {
.direction = 1,
.center_freq = chandef->center_freq1,
.center_freq = cpu_to_le16(chandef->center_freq1),
.bw = mt7615_mcu_chan_bw(chandef),
.band = chandef->center_freq1 > 4000,
.dbdc_en = !!dev->mt76.phy2,