wlan: Initialize 'staInfo_lock' before accessing.

staInfo_lock lock is initialized during change_interface or while
opening SAP/P2P-GO adapter. Hence in SSR scenario staInfo_lock will
not be initialized, leading to accessing lock without initialization.

Changes are done to initialize lock in WLANSAP_Start() so that lock
will be initialized in both re_init(SSR) and driver loading.

Change-Id: If71b2748e02f9fbb3e03cdee8dc5a313e142e5bb
CRs-Fixed: 799349
2 files changed
tree: 44d3c4d3d8d92550bf2fbbe8e68e43523b1d16ba
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile