ath10k: fix the logic of limiting tdls peer counts

Kalle Valo kvalo at qca.qualcomm.com
Thu Jun 1 06:02:00 PDT 2017


ryanhsu at qti.qualcomm.com wrote:

> The original idea is to limit the maximum TDLS peer link, but the logic
> is always false, and never be able to restrict the number of TDLS peer
> creation.
> 
> Fix the logic here and also move the checking earlier, so that it could
> avoid to handle the failure case, e.g disable the tdls peer, delete the
> peer and also vdev count cleanup.
> 
> Signed-off-by: Ryan Hsu <ryanhsu at qti.qualcomm.com>
> Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>

Patch applied to ath-next branch of ath.git, thanks.

9a993cc1ea95 ath10k: fix the logic of limiting tdls peer counts

-- 
https://patchwork.kernel.org/patch/9755235/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list