ryanhsu@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> 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