summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsiu-Chang Chen <hsiuchangchen@google.com>2022-12-06 16:31:04 +0800
committerHsiu-Chang Chen <hsiuchangchen@google.com>2023-03-15 14:14:53 +0800
commite4fa8249b85725a0782eb5b7d7bb410e5f960fed (patch)
tree43363ced6542f7f4d762479c00994db0cc503206
parent9bdac015fb23e2d76bd5d47925717b9cb1217e67 (diff)
downloadqcacld-android-msm-redbull-4.19-t-qpr3-beta-3.tar.gz
The function 'wma_find_vdev_by_addr' returns pointer to cdp_vdev, so should avoid to comapre with QDF_STATUS_SUCCESS. Bug: 271892276 Test: Regression Test Change-Id: Ica53b5a6d6672ef6949918ffed1397d1c0fd1813 CRs-Fixed: 3346764 Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
-rw-r--r--core/wma/src/wma_mgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/wma/src/wma_mgmt.c b/core/wma/src/wma_mgmt.c
index b11950a376..7456601cd7 100644
--- a/core/wma/src/wma_mgmt.c
+++ b/core/wma/src/wma_mgmt.c
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -4442,7 +4443,7 @@ int wma_form_rx_packet(qdf_nbuf_t buf,
if (status)
return status;
} else if (wma_find_vdev_by_addr(wma_handle, wh->i_addr1,
- &vdev_id) == QDF_STATUS_SUCCESS) {
+ &vdev_id)) {
status = wma_check_and_process_rmf_frame(wma_handle,
vdev_id,
&wh,