]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: remove unnecessary htt rx corruption check
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 30 May 2014 20:49:57 +0000 (23:49 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 2 Jun 2014 18:05:28 +0000 (21:05 +0300)
commit6986e89114b94841ffd14c3c924ab9e7391b1484
treea0e0f3525cc41ef4582d90a17181c94e9b1947d9
parentd303635842055e866eb9b271ff396f147194ae55
ath10k: remove unnecessary htt rx corruption check

While fixing a bug reported by Avery I went ahead
and added a warning suspecting there might be
something more to the bug. This ended up with
people reporting they see warnings during heavy
traffic. This bought me some time and helped me
understand the problem better - apparently fw/hw
can report a chained msdus as follows: 1 msdu, 1
chained, 1 msdu (0 length).

The patch removes the extra check but leaves the
other change that fixed the original skb_push
panic bug (msdu_chaining was overwritten in an
unfortunate way which made the above example to
be treated as non-chained case).

Reported-by: Yeoh Chun-Yeow <yeohchunyeow@gmail.com>
Reported-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c