Skip to content
Permalink
Browse files

mt7603: set timing on channel change before starting MAC

MAC needs to be stopped/started for timing change anyway

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Jan 21, 2019
1 parent 815fd03 commit b35cc8eefa2d8931283de7131e5360a0336a467e
Showing with 1 addition and 1 deletion.
  1. +1 −1 mt7603/main.c
@@ -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);

0 comments on commit b35cc8e

Please sign in to comment.
You can’t perform that action at this time.