Re: [PATCH] ath10k: fixed scan crash

2018-04-24 Thread Kalle Valo
zhic...@codeaurora.org writes: > From: Zhi Chen > > Length of WMI scan message was not calculated correctly. The allocated > buffer was smaller than what we expected. So WMI message corrupted > skb_info, which is at the end of skb->data. This fix takes TLV header > into

[PATCH] ath10k: fixed scan crash

2018-04-10 Thread zhichen
From: Zhi Chen Length of WMI scan message was not calculated correctly. The allocated buffer was smaller than what we expected. So WMI message corrupted skb_info, which is at the end of skb->data. This fix takes TLV header into account even if the element is zero-length.