wlan: Add callback handler for wlan suspend

Currently control reaches to caller after posting a message to WDA
in wlan suspend. In some cases it may be possible that message is
still in processing and system goes to sleep since hdd will return
due to non blocking call.

Add callback API to wait in hdd until message is posted to smd.

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