qcacld-3.0: Fix commnd eSmeCommandRoam stuck issue

qcacld-2.0 to qcacld-3.0 propagation.

AP and P2P GO mode, user issue DEAUTHENTICATE command with reason 6,
driver will change deauth reason code to eSIR_MAC_UNSPEC_FAILURE_REASON.
It should be only for station or p2p client mode. Otherwise,
'eSmeCommandRoam' will be stuck in 'smeCmdActiveList'. It will
trigger recover.

Change-Id: I126c0b682dbee12e6da903040e058ca370228c5f
CRs-Fixed: 2311077
1 file changed