mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: fix endian issues in applying flash calibration data
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user