mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
mt76: mt7615: remove useless MT_HW_RDD0/1 enum
Writing 0/1 is shorter and just as clear Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-2
@@ -263,8 +263,7 @@ mt7615_regd_notifier(struct wiphy *wiphy,
|
||||
|
||||
mt7615_dfs_stop_radar_detector(dev);
|
||||
if (request->dfs_region == NL80211_DFS_UNSET)
|
||||
mt7615_mcu_rdd_cmd(dev, RDD_CAC_END, MT_HW_RDD0,
|
||||
MT_RX_SEL0, 0);
|
||||
mt7615_mcu_rdd_cmd(dev, RDD_CAC_END, 0, MT_RX_SEL0, 0);
|
||||
else
|
||||
mt7615_dfs_start_radar_detector(dev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user