Forráskód Böngészése

qcacmn: Fix build error caused by ucfg_dcs_get_ch_util

The parameters of ucfg_dcs_get_ch_util should be the same whether
DCS_INTERFERENCE_DETECTION is defined or not.

Change-Id: I6281a7a236314bd6d02c05186e2efc52c946b426
CRs-Fixed: 3082164
Bing Sun 3 éve
szülő
commit
87161baa8e
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h

+ 2 - 1
umac/dcs/dispatcher/inc/wlan_dcs_ucfg_api.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 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 above
@@ -264,7 +265,7 @@ ucfg_dcs_set_user_request(struct wlan_objmgr_psoc *psoc, uint8_t mac_id,
 }
 
 static inline QDF_STATUS
-ucfg_dcs_get_ch_util(struct wlan_objmgr_vdev *vdev,
+ucfg_dcs_get_ch_util(struct wlan_objmgr_psoc *psoc, uint8_t mac_id,
 		     struct wlan_host_dcs_ch_util_stats *dcs_stats)
 {
 	return QDF_STATUS_SUCCESS;