wlan: Serialize enter/exit bmps in hdd_smeRoamCallback

hdd_smeRoamCallback gets called in the MC_Thread context and invoking
wlan_hdd_enter and exit bmps function is causing a deadlock.
In other words the MC_Thread will be blocked waiting for the
MC_Thread to perform some work and subsequently unblock the MC_Thread

The fix is to call SME function to post a command to
the PMC queue (MC_Thread) and there by unblocking the caller
immediately and process the command later when scheduled.

Change-Id: Icaf8105abcc3cbec9670e39f0a5b4dd1340f9d46
CRs-Fixed: 589921
1 file changed
tree: 482412e0a6aafab8b5f5a7fc21fe2639c4c9c8dd
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig