Преглед на файлове

qcacld-3.0: Harmonize lim_populate_matching_rate_set()

Currently the lim_populate_matching_rate_set() prototype uses
different parameter identifiers than the implementation. Since this
can be confusing for both humans and code analysis tools, update the
prototype to match the implementation.

Change-Id: Ic96e47e82f3c6ab873a87f570fca81659d87a52b
CRs-Fixed: 2380114
Jeff Johnson преди 6 години
родител
ревизия
81ae428572
променени са 2 файла, в които са добавени 16 реда и са изтрити 17 реда
  1. 7 7
      core/mac/src/pe/lim/lim_assoc_utils.c
  2. 9 10
      core/mac/src/pe/lim/lim_assoc_utils.h

+ 7 - 7
core/mac/src/pe/lim/lim_assoc_utils.c

@@ -1812,13 +1812,13 @@ lim_populate_peer_rate_set(struct mac_context *mac,
  * Return: QDF_STATUS_SUCCESS on success else QDF_STATUS_E_FAILURE
  */
 QDF_STATUS lim_populate_matching_rate_set(struct mac_context *mac_ctx,
-					     tpDphHashNode sta_ds,
-					     tSirMacRateSet *oper_rate_set,
-					     tSirMacRateSet *ext_rate_set,
-					     uint8_t *supported_mcs_set,
-					     struct pe_session *session_entry,
-					     tDot11fIEVHTCaps *vht_caps,
-					     tDot11fIEhe_cap *he_caps)
+					  tpDphHashNode sta_ds,
+					  tSirMacRateSet *oper_rate_set,
+					  tSirMacRateSet *ext_rate_set,
+					  uint8_t *supported_mcs_set,
+					  struct pe_session *session_entry,
+					  tDot11fIEVHTCaps *vht_caps,
+					  tDot11fIEhe_cap *he_caps)
 {
 	tSirMacRateSet temp_rate_set;
 	tSirMacRateSet temp_rate_set2;

+ 9 - 10
core/mac/src/pe/lim/lim_assoc_utils.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2019 The Linux Foundation. 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
@@ -73,15 +73,14 @@ QDF_STATUS lim_populate_own_rate_set(struct mac_context *mac,
 					tDot11fIEVHTCaps *pVHTCaps,
 					tDot11fIEhe_cap *he_caps);
 
-QDF_STATUS
-lim_populate_matching_rate_set(struct mac_context *mac,
-			       tpDphHashNode pStaDs,
-			       tSirMacRateSet *pOperRateSet,
-			       tSirMacRateSet *pExtRateSet,
-			       uint8_t *pSupportedMCSSet,
-			       struct pe_session *pe_session,
-			       tDot11fIEVHTCaps *pVHTCaps,
-			       tDot11fIEhe_cap *he_caps);
+QDF_STATUS lim_populate_matching_rate_set(struct mac_context *mac_ctx,
+					  tpDphHashNode sta_ds,
+					  tSirMacRateSet *oper_rate_set,
+					  tSirMacRateSet *ext_rate_set,
+					  uint8_t *supported_mcs_set,
+					  struct pe_session *session_entry,
+					  tDot11fIEVHTCaps *vht_caps,
+					  tDot11fIEhe_cap *he_caps);
 
 QDF_STATUS lim_add_sta(struct mac_context *, tpDphHashNode, uint8_t, struct pe_session *);
 QDF_STATUS lim_del_bss(struct mac_context *, tpDphHashNode, uint16_t, struct pe_session *);