mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt76x02: remove check in mt76x02_mcu_msg_send
mt76x02_mcu_msg_send is run just by mmio code so get rid of mt76_is_mmio() check Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
fa81da5bb4
commit
44f2262c02
+1
-1
@@ -20,7 +20,7 @@ int mt76x02_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data,
|
||||
int ret;
|
||||
u8 seq;
|
||||
|
||||
if (mt76_is_mmio(&dev->mt76) && dev->mcu_timeout)
|
||||
if (dev->mcu_timeout)
|
||||
return -EIO;
|
||||
|
||||
skb = mt76_mcu_msg_alloc(mdev, data, len);
|
||||
|
||||
Reference in New Issue
Block a user