prima: Fix to block suspend wlan if already suspended

Currently, suspend wlan request from upper layer is honored without
checking whether device is already in suspended state or not. This
is causing device to crash when PNO is enabled and back to back
suspend wlan is issued. Fix this by not honoring wlan suspend if
device is already in suspended state. Added a similar check to
block resume if already resumed.

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