qcacld-3.0: Deinit DP TXRX module when rx thread init fails
DP TXRX module is not cleaned when DP Rx thread init failed To fix this, when DP Rx thread init fails, free DP TXRX module as part of failure sequence. Change-Id: I311b84a76036c8dd1e60b9f8c653fc126e031543 CRs-Fixed: 3413933
Esse commit está contido em:

commit de
Madan Koyyalamudi

pai
b995298539
commit
988ceaccd5
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2023 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
|
||||
@@ -1534,6 +1534,9 @@ QDF_STATUS dp_txrx_init(ol_txrx_soc_handle soc, uint8_t pdev_id,
|
||||
num_dp_rx_threads);
|
||||
}
|
||||
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status))
|
||||
dp_txrx_deinit(soc);
|
||||
|
||||
return qdf_status;
|
||||
}
|
||||
|
||||
|
Referência em uma nova issue
Block a user