qcacmn: Add boundary check for number of APs

Add boundary check for number of APs.

Change-Id: I41e36d11bc3e71928866a27afc2fbf046b59f0f5
CRs-Fixed: 1095770
1 file changed