qcacmn: Consider dbr registration status while spectral open
The spectral pdev open handler returns success even if the registration to Direct Buffer Rx(DBR) module is not successful. Fix this by updating it with the status of registration of the spectral event handler with DBR while executing operations on pdev open. CRs-Fixed: 3272684 Change-Id: If336180f4e7e811f5a353a86eea49e0e56f50338
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
79b46e688f
کامیت
2b23d2e388
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
@@ -496,7 +497,7 @@ QDF_STATUS spectral_pdev_open(struct wlan_objmgr_pdev *pdev)
|
||||
tgt_set_spectral_dma_debug(pdev, SPECTRAL_DMA_BUFFER_DEBUG, 1);
|
||||
|
||||
status = spectral_register_dbr(pdev);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
return status;
|
||||
}
|
||||
|
||||
QDF_STATUS spectral_register_dbr(struct wlan_objmgr_pdev *pdev)
|
||||
|
مرجع در شماره جدید
Block a user