wlan: Populate Value only if memory is allocated

Before copying the value of bkid count, it needs to be
checked if it is non-zero, since the memory to hold the
value is allocated only if it is non-zero.

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