mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: fix setting channel latch register
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ int mt7603_set_channel(struct mt7603_dev *dev, struct cfg80211_chan_def *def)
|
||||
memcpy(dev->rssi_offset, rssi_data, sizeof(dev->rssi_offset));
|
||||
|
||||
idx |= (def->chan - mt76_hw(dev)->wiphy->bands[def->chan->band]->channels) << 1;
|
||||
mt76_set(dev, MT_WF_RMAC_CH_FREQ, idx);
|
||||
mt76_wr(dev, MT_WF_RMAC_CH_FREQ, idx);
|
||||
mt7603_mac_start(dev);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user