]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: fix RX short frame check
authorLior David <liord@codeaurora.org>
Tue, 10 Sep 2019 13:46:41 +0000 (16:46 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Sep 2019 15:07:45 +0000 (18:07 +0300)
commitb183df06c6d0efc9d695f6274eea475b11fef77c
treece61bf84f1c3de95673c49ceae493ac852e88e8b
parent1f6df740c02f83ed17df643268a8780c82e759d3
wil6210: fix RX short frame check

The short frame check in wil_sring_reap_rx_edma uses
skb->len which store the maximum frame length. Fix
this to use dmalen which is the actual length of
the received frame.

Signed-off-by: Lior David <liord@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/txrx_edma.c