TDLS: Fix for potential buffer overflow

Static analyser is reporting errors for array bound
checking.
To resolve this, Check for condition array index
shouldn't exceed WNI_CFG_VALID_CHANNEL_LIST_LEN
before accessing ChannelList array.

CRs-Fixed: 696606
Change-Id: I52817fa3bb216838f250aecea2eb3e0143161e00
1 file changed
tree: c11bd0d9073f8995fe8c99231a26bf939e5b180b
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile