Wlan: Use proper length to copy channel avoid ind in WDI from FW

If the number of channel ranges in channel avoidance support is 4
in firmware and 15 in host, firmware sends the data with length
of 4 channel ranges while host tries to copy length of 15 channel
ranges and thus may access invalid memory resulting in crash.

Consider the length sent by firmware to copy the channel avoid
indication from firmware.

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