Wlan: Check if link is already suspended before posting LIM_MLM_SCAN_REQ

The link suspended state is checked for scan state once
LIM_MLM_SCAN_REQ is processed. But scan states are changed
before LIM_MLM_SCAN_REQ is posted by scan request and returning
from here leads to scan states changed back to default.
These default scan states by scan request may effect the ongoing
suspend link operataion and leads to crash.

To avoid this check if link was already suspended as soon as
Scan req is received by lim.

Change-Id: I97ad8fa0481a57d1095d735462bc88df6ee3168c
CRs-Fixed: 922532
1 file changed
tree: 269356410da6132a45c2fc6f7f35034c68976a21
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile