qcacld-2.0: Reject full power request for disassociation frames

Prima to qcacld-2.0 propagation

Currently driver goes into full power mode for sending
disassociation frames which is not required since these are
management frames.

Add changes to reject full power request for disassociation
frames.

Change-Id: I4cc6a75d4a45e2973eb233193e6e9cbf398ef09e
CRs-Fixed: 1109516
This commit is contained in:
Ashish Kumar Goswami 2017-01-31 17:13:10 +05:30 committed by syphyr
parent 453103a44c
commit 542b787dc6
1 changed files with 4 additions and 0 deletions

View File

@ -18110,6 +18110,10 @@ eHalStatus csrIsFullPowerNeeded( tpAniSirGlobal pMac, tSmeCmd *pCommand,
case eCsrCapsChange:
fNeedFullPower = eANI_BOOLEAN_TRUE;
break;
case eCsrForcedDisassocSta:
case eCsrForcedDeauthSta:
fNeedFullPower = eANI_BOOLEAN_FALSE;
break;
default:
/*
* Check whether the profile is already connected. If so,