Wlan: Check for Roam command in csrIsRoamCommandWaitingForSession.

If connect and disconnect comes in same order, connect command
will put eSmeCommandRoam to roamcmd Pending list.
If disconnect comes at the same time, driver is unable to
call cancel roaming as disconnect handler is not checking
for roamPending list.

csrRoamIssueConnect->csrQueueSmeCommand->
csrRequestFullPower->eHAL_STATUS_PMC_PENDING
as driver requests for FULL POWER. Driver adds Roam
command to pMac->roam.roamCmdPendingList.

Now if  supplicant calls disconnect
wlan_hdd_disconnect->sme_RoamDisconnect->
csrRoamDisconnect->csrRoamDisconnectInternal->
csrIsRoamCommandWaitingForSession

Here in csrIsRoamCommandWaitingForSession API driver is
checking only two lists
1.smeCmdActiveList
2. smeCmdPendingList
Now as Roam command is not in both these lists disconnect
command doesn't get processed.

CRs-Fixed: 606986
Change-Id: I55708f4f8667675ea46e39958b83d274e23293cb
1 file changed
tree: a2e1e2bc66b863f816bce03936942c147a4973de
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig