Files
linux/drivers/net/wireless/ath/ath9k
Felix Fietkau b7b146c9c9 ath9k: fix invalid descriptor discarding
Only set sc->rx.discard_next to rx_stats->rs_more when actually
discarding the current descriptor.

Also, fix a detection of broken descriptors:
First the code checks if the current descriptor is not done.
Then it checks if the next descriptor is done.
Add a check that afterwards checks the first descriptor again, because
it might have been completed in the mean time.

This fixes a regression introduced in
commit 723e711356
"ath9k: fix handling of broken descriptors"

Cc: stable@vger.kernel.org
Reported-by: Marco André Dinis <marcoandredinis@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-02-25 14:54:11 -05:00
..
2013-09-26 15:13:38 -04:00
2013-08-28 13:58:27 -04:00
2014-01-03 15:37:00 -05:00
2013-10-14 13:39:58 -04:00
2014-01-03 15:37:01 -05:00
2013-12-02 14:24:53 -05:00
2014-01-13 14:50:05 -05:00
2014-01-03 15:36:58 -05:00
2013-12-18 15:23:22 -05:00
2014-01-13 14:50:05 -05:00
2013-10-18 14:03:54 -04:00
2013-12-18 15:23:22 -05:00
2014-01-16 14:55:45 -05:00
2013-01-11 14:12:01 -05:00
2014-01-23 14:02:45 -05:00
2014-01-03 15:36:58 -05:00
2014-01-03 15:36:57 -05:00
2014-01-23 14:02:45 -05:00
2014-01-09 10:56:40 -05:00
2013-12-18 15:23:37 -05:00
2013-09-26 15:13:48 -04:00
2014-01-03 15:36:58 -05:00