wlan: Don't process PNO START commands back-back

As  both PNO START and PNO STOP commands are added to the HEAD
of SME pending queue, there is possibility of processing two PNO
START commands back-back, if framework issues PNO STOP followed
by PNO START commands(causing PNO START to be added to HEAD of
queue) while already PNO SCAN is going on.
Hence add PNO STOP/START commands to the head/tail of SME pending
queue respectively and return from PNO STOP command only after
getting confirmation that FW received PNO STOP command.

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