ath10k: clean up cont frag desc init code
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 21 Jan 2016 13:13:26 +0000 (14:13 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 28 Jan 2016 08:45:28 +0000 (10:45 +0200)
commit575fc89500d37839eb24ecd258982b24edefed6f
tree4d6a2351249dc88d1da9d111063059af3963cf74
parent9b783763aa9623dedeed77bec158f7377cb87750
ath10k: clean up cont frag desc init code

This makes the code easier to extend and re-use.

While at it fix _warn to _err. Other than that
there are no functional changes.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_tx.c