wcn36xx: don't process 'valid' descriptors
authorBob Copeland <me@bobcopeland.com>
Fri, 9 Jan 2015 19:15:48 +0000 (14:15 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:12:01 +0000 (19:12 +0200)
commitbfa6696b39ae4da554a8b8ec9d17bba1ed6ae889
treea33decaa6ad72ee5a18bfb55aa80bd1ef92efc1a
parent232ddcd80fa5c878efd631c6562cbaa24535bdc1
wcn36xx: don't process 'valid' descriptors

The DMA engine will reset the valid bit after a descriptor is
complete; any with the valid bit still set may still be in
use by the hardware, so check that before freeing the descriptor.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/dxe.c