wlan: Custom Event Buffer Length Calculation

strlen should not be used to calculate the data
size of the buffer. For instance, the buffer may
contain MAC Address as part of the data and it
may contain 0x00 as one of the octets.If we use
strlen, then it will consider this as end of the
string and result in inappropriate length.

Change-Id: Id095bd137ce79a14343318f047f90d542e208f46
CRs-Fixed: 574384
1 file changed
tree: 98c7c19caf18972fe30f9191a9abec31f58e3825
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig