wlan: Fix for netd crash due to improper length updation.

Netd crash due to improper length updation to the user space. i.e
actual length of data copied to the user space buffer being
calculated after indication of the same to the user and wrong value
being updated to the user space.
This commit ensures that the length of the data copied to the user
space buffer and the length indicated to user is same.

Change-Id: I0a402798f5d923eaad1a681724a63cf0cb2c2663
CRs-Fixed: 612326
1 file changed
tree: 789690d152b6e0ed9e2c9d2025f5382ec983513e
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig