ath10k: fix the garage chars in board file name creation
Kalle Valo
kvalo at qca.qualcomm.com
Tue Feb 14 09:57:10 PST 2017
Ryan Hsu <ryanhsu at qca.qualcomm.com> wrote:
> From: Ryan Hsu <ryanhsu at qca.qualcomm.com>
>
> The variant[] string will be valid only if the bdf_ext is set.
>
> The string memory needs to be null-terminated to avoid the undefined garbage
> appended by the subsequent board file name creation.
>
> ath10k_pci 0000:04:00.0: failed to fetch board data for
> "bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3363��P�����"
> from ath10k/QCA6174/hw3.0/board-2.bin
>
> Fixes: f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file extension")
> Reported-by: Kalle Valo <kvalo at qca.qualcomm.com>
> Signed-off-by: Ryan Hsu <ryanhsu at qca.qualcomm.com>
Patch applied to ath-next branch of ath.git, thanks.
a532293fcba4 ath10k: fix the garage chars in board file name creation
--
https://patchwork.kernel.org/patch/9567469/
Documentation about submitting wireless patches and checking status
from patchwork:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath10k
mailing list