summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeepak Dhamdhere <ddhamdhe@codeaurora.org>2017-02-14 19:32:45 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-17 09:02:45 -0800
commita32e3acb228b9c5e79c005f23e5205665bdefe09 (patch)
tree14b46c393edc1e1bafe49015617d0eb59f3b93cb
parent5d6a5727ca09caf73236dae4612ce43aec170a4e (diff)
qcacld-3.0: Add tlv buffer check for handling WOW_REASON_ROAM_HO
WOW_REASON_ROAM_HO event has a piggybacked event buffer that needs to be aligned before parsing using tlv_check_required(). CRs-Fixed: 2005500 Change-Id: Ic2222971539b410a3915e946c9bdf12bafe0cca7
-rw-r--r--core/wma/src/wma_features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c
index a82ec7a0f2a3..f49dceef089e 100644
--- a/core/wma/src/wma_features.c
+++ b/core/wma/src/wma_features.c
@@ -2745,6 +2745,7 @@ static bool tlv_check_required(int32_t reason)
case WOW_REASON_RSSI_BREACH_EVENT:
case WOW_REASON_NAN_EVENT:
case WOW_REASON_NAN_DATA:
+ case WOW_REASON_ROAM_HO:
return true;
default:
return false;