qcacmn: Fix improper return value

Fix improper return value, to avoid compiler complain.

Change-Id: I21729bf96aa6561d6282bb456451e1e1a0748609
CRs-Fixed: 3674783
Esse commit está contido em:
Lin Bai
2023-11-28 21:37:07 -08:00
commit de Ravindra Konda
commit 7278b2ca6b

Ver arquivo

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2024 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
@@ -3380,7 +3380,7 @@ hif_send_head(struct hif_opaque_softc *hif_ctx,
if (qdf_unlikely(!ce_hdl)) {
hif_err("CE handle is null");
return A_ERROR;
return QDF_STATUS_E_INVAL;
}
QDF_NBUF_UPDATE_TX_PKT_COUNT(nbuf, QDF_NBUF_TX_PKT_HIF);