mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: set timing on channel change before starting MAC
MAC needs to be stopped/started for timing change anyway Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -199,8 +199,8 @@ mt7603_set_channel(struct mt7603_dev *dev, struct cfg80211_chan_def *def)
|
||||
idx |= (def->chan -
|
||||
mt76_hw(dev)->wiphy->bands[def->chan->band]->channels) << 1;
|
||||
mt76_wr(dev, MT_WF_RMAC_CH_FREQ, idx);
|
||||
mt7603_mac_start(dev);
|
||||
mt7603_mac_set_timing(dev);
|
||||
mt7603_mac_start(dev);
|
||||
|
||||
clear_bit(MT76_RESET, &dev->mt76.state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user