mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7603: set 0 as min coverage_class value
Set 0 as minimum configurable value for coverage_class since mt76 does not support dynack Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
5cec93d57e
commit
9354f0f41d
+1
-1
@@ -641,7 +641,7 @@ mt7603_set_coverage_class(struct ieee80211_hw *hw, s16 coverage_class)
|
||||
{
|
||||
struct mt7603_dev *dev = hw->priv;
|
||||
|
||||
dev->coverage_class = coverage_class;
|
||||
dev->coverage_class = max_t(s16, coverage_class, 0);
|
||||
mt7603_mac_set_timing(dev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user