aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/ce.c
diff options
context:
space:
mode:
authorRyan Hsu <ryanhsu@qti.qualcomm.com>2017-05-31 14:21:28 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2017-06-01 15:59:33 +0300
commit9a993cc1ea952b0018f393f7f58fa04f531543ed (patch)
tree55be333ee15c7bbfa55935af29d1a5a751752a1b /drivers/net/wireless/ath/ath10k/ce.c
parentath10k: add BMI parameters to fix calibration from DT/pre-cal (diff)
downloadlinux-dev-9a993cc1ea952b0018f393f7f58fa04f531543ed.tar.xz
linux-dev-9a993cc1ea952b0018f393f7f58fa04f531543ed.zip
ath10k: fix the logic of limiting tdls peer counts
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@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/ce.c')
0 files changed, 0 insertions, 0 deletions