mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: remove warning on rx with invalid channel info
This can happen during a watchdog reset and is harmless Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -438,7 +438,7 @@ mt7603_mac_fill_rx(struct mt7603_dev *dev, struct sk_buff *skb)
|
||||
if (rxd2 & MT_RXD2_NORMAL_MAX_LEN_ERROR)
|
||||
return -EINVAL;
|
||||
|
||||
if (WARN_ON_ONCE(!sband->channels))
|
||||
if (!sband->channels)
|
||||
return -EINVAL;
|
||||
|
||||
rxd += 4;
|
||||
|
||||
Reference in New Issue
Block a user