mt7603: fix setting channel latch register

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-01-31 21:47:04 +01:00
parent bd4ce1d6f4
commit 6db039eed7
+1 -1
View File
@@ -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;