Эх сурвалжийг харах

qcacmn: Fix improper return value

Fix improper return value, to avoid compiler complain.

Change-Id: I21729bf96aa6561d6282bb456451e1e1a0748609
CRs-Fixed: 3674783
Lin Bai 1 жил өмнө
parent
commit
7278b2ca6b
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      hif/src/ce/ce_main.c

+ 2 - 2
hif/src/ce/ce_main.c

@@ -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);