]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: correct the format of host memory chunks in wmi init command
authorYu Wang <yyuwang@codeaurora.org>
Mon, 25 Feb 2019 09:45:52 +0000 (11:45 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Feb 2019 13:00:08 +0000 (15:00 +0200)
commit0eca0486974e619f3c0d408b68d257cf6991ae73
treedb20531cd232d633b70a0e8008cc97404bdbe022
parent9c6efe4f743e3d3479470200ef37f7d4f18ff546
ath10k: correct the format of host memory chunks in wmi init command

This is a theoretical fix, the issue is found in code review.
When adding the host memory chunks into wmi-tlv init command,
there is no separate tlv header for each host memory chunk
in the struct array, which breaches the convention between
host and firmware, will result in mismatch between the two.

To fix this issue, add separate tlv headers for the host
memory chunks in wmi-tlv init command.

Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi-tlv.c