diff --git a/mt7603_core.c b/mt7603_core.c index 54ec124f..76e8093e 100644 --- a/mt7603_core.c +++ b/mt7603_core.c @@ -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;