wlan: Fix P2P scan faliure by updating channel list properly

The new_index used in the function csrScanCopyRequest() is not
updated because of use of pass by value for new_index. The
channel list is not updated, and thus p2p scan fails.

Fix is to use pass by refenrence for new_index to get updated
channel list in csrScanCopyRequest().

Change-Id: I7fba9e0701a01b8e49d4fd94477582761c833674
CRs-Fixed: 2007630
2 files changed
tree: d3230b1d357636c33344ed36d661409eea03dea8
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile