ath10k: initialize nbytes to 0
authorBen Greear <greearb@candelatech.com>
Wed, 31 May 2017 11:21:26 +0000 (14:21 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Jun 2017 12:57:12 +0000 (15:57 +0300)
commit4f40b423339b8121fbd5d6735bf6942020355c98
tree463d4a2164d2c95b41694edd36811cf96ba402c7
parent6bb099b088c70f76b5f34672a83d4452b1e3af36
ath10k: initialize nbytes to 0

ath10k firmware checks nbytes == 0 as part of determining if DMA
has completed successfully.  To help make this work more often,
have the driver initialize nbytes to zero when freeing the descriptor
slot.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c