Browse Source

qcacmn: Fix function prototype and definition mismatch

Fix function prototype and definition mismatch,
to avoid compiler complain.

Change-Id: I21729bf9daa6561d6282bb456451e1e1a0748609
CRs-Fixed: 3674783
Lin Bai 1 year ago
parent
commit
6fbd10b2eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wmi/inc/wmi_unified_api.h

+ 2 - 2
wmi/inc/wmi_unified_api.h

@@ -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
@@ -1355,7 +1355,7 @@ QDF_STATUS wmi_unified_sta_ps_cmd_send(wmi_unified_t wmi_handle,
  * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
  */
 QDF_STATUS wmi_unified_ap_ps_cmd_send(wmi_unified_t wmi_handle,
-				      uint8_t macaddr[QDF_MAC_ADDR_SIZE],
+				      uint8_t *macaddr,
 				      struct ap_ps_params *param);
 
 /**