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:
Felix Fietkau
2018-04-13 10:42:01 +02:00
parent f36f3083ec
commit 9a23989932
+1 -1
View File
@@ -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;