mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
mt76: mt7615: remove a stray if statement
This if statement was supposed to be deleted, but it wasn't. It means
that we sometimes don't set the sensitivity correctly.
Fixes: 2cad515ece ("mt76: mt7615: add missing settings for simultaneous dual-band support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e58f6e0625
commit
5ddffa1b62
|
|
@ -1630,7 +1630,6 @@ mt7615_mac_adjust_sensitivity(struct mt7615_phy *phy,
|
||||||
MT_WF_PHY_PD_OFDM(ext_phy, val));
|
MT_WF_PHY_PD_OFDM(ext_phy, val));
|
||||||
} else {
|
} else {
|
||||||
val = *sensitivity + 256;
|
val = *sensitivity + 256;
|
||||||
if (!ext_phy)
|
|
||||||
mt76_rmw(dev, MT_WF_PHY_RXTD_CCK_PD(ext_phy),
|
mt76_rmw(dev, MT_WF_PHY_RXTD_CCK_PD(ext_phy),
|
||||||
MT_WF_PHY_PD_CCK_MASK(ext_phy),
|
MT_WF_PHY_PD_CCK_MASK(ext_phy),
|
||||||
MT_WF_PHY_PD_CCK(ext_phy, val));
|
MT_WF_PHY_PD_CCK(ext_phy, val));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user