mt7601u: watch out for invalid-length frames
authorJakub Kicinski <kubakici@wp.pl>
Tue, 2 Jun 2015 19:11:26 +0000 (21:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 11:28:07 +0000 (14:28 +0300)
commit2af6d21fce9990630d2adfda5a329706aa9e3571
treebabecf7391ea6c31aba4584b34fc5fb994d0200e
parent69647fab13a5cbc305b50305fdd7dd4114c0e8db
mt7601u: watch out for invalid-length frames

Users of older Ralink devices report that received frames
sometimes have zero length.  Watch out for that.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/dma.c
drivers/net/wireless/mediatek/mt7601u/mac.c