ath10k: add initialization of HTC header
authorAlagu Sankar <alagusankar@silex-india.com>
Fri, 19 Apr 2019 07:28:59 +0000 (10:28 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Apr 2019 13:26:09 +0000 (16:26 +0300)
commitfbd428a5b828bf3fd3627e1526dd470f64f90d2c
tree3db3f25b73a1bfcc2720c12e97c503ff6c4e1c7e
parent30382dd1cf3a141bfaa568ee183c1892090fa79a
ath10k: add initialization of HTC header

HTC header carries junk values that may be interpreted by the firmware
differently. Enable credit update only if flow control is enabled for
the corresponding endpoint.

Signed-off-by: Alagu Sankar <alagusankar@silex-india.com>
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htc.c