Parcourir la source

qcacld-3.0: Fix typos in cld

Fix typos spanned over multiple files in cld.

Change-Id: I88def5a2898c9e3e5cf32d123521faa53ef42e70
CRs-Fixed: 3521886
Aditya Kodukula il y a 1 an
Parent
commit
744adf0e1c

+ 1 - 1
components/cmn_services/policy_mgr/src/wlan_policy_mgr_i.h

@@ -355,7 +355,7 @@ struct policy_mgr_cfg {
  * @hw_mode: List of HW modes supported
  * @old_hw_mode_index: Old HW mode from hw_mode table
  * @new_hw_mode_index: New HW mode from hw_mode table
- * @dual_mac_cfg: DBS configuration currenctly used by FW for
+ * @dual_mac_cfg: DBS configuration currently used by FW for
  *              scan & connections
  * @radio_comb_num: radio combination number
  * @radio_combinations: radio combination list

+ 1 - 1
components/cp_stats/dispatcher/inc/wlan_cp_stats_mc_defs.h

@@ -21,7 +21,7 @@
  * DOC: wlan_cp_stats_mc_defs.h
  *
  * This file provide definition for structure/enums/defines related to control
- * path stats componenet
+ * path stats component
  */
 
 #ifndef __WLAN_CP_STATS_MC_DEFS_H__

+ 1 - 1
components/tdls/core/src/wlan_tdls_peer.c

@@ -491,7 +491,7 @@ tdls_find_first_connected_peer(struct tdls_vdev_priv_obj *vdev_obj)
  * @vdev_obj: TDLS vdev object
  * @peer: TDLS peer
  * @channel: pointer to channel
- * @opclass: pinter to opclass
+ * @opclass: pointer to opclass
  *
  * Function determines the channel and operating class
  *

+ 3 - 3
core/hdd/src/wlan_hdd_main.c

@@ -4770,7 +4770,7 @@ int hdd_wlan_start_modules(struct hdd_context *hdd_ctx, bool reinit)
 		/*
 		 * NAN compoenet requires certain operations like, open adapter,
 		 * close adapter, etc. to be initiated by HDD, for those
-		 * register HDD callbacks with UMAC's NAN componenet.
+		 * register HDD callbacks with UMAC's NAN component.
 		 */
 		hdd_nan_register_callbacks(hdd_ctx);
 
@@ -17786,7 +17786,7 @@ exit:
 /**
  * wlan_hdd_state_ctrl_param_release() -  Release callback for /dev/wlan.
  *
- * @inode: struct inode pinter.
+ * @inode: struct inode pointer.
  * @file: struct file pointer.
  *
  * Release callback that would be invoked when the file operations has
@@ -19498,7 +19498,7 @@ static int hdd_update_pmo_config(struct hdd_context *hdd_ctx)
 	 * 0 - Disable both magic pattern match and pattern byte match.
 	 * 1 - Enable magic pattern match on all interfaces.
 	 * 2 - Enable pattern byte match on all interfaces.
-	 * 3 - Enable both magic patter and pattern byte match on
+	 * 3 - Enable both magic pattern and pattern byte match on
 	 *     all interfaces.
 	 */
 	wow_enable = ucfg_pmo_get_wow_enable(hdd_ctx->psoc);

+ 1 - 1
core/hdd/src/wlan_hdd_stats.c

@@ -6003,7 +6003,7 @@ bool hdd_report_max_rate(struct wlan_hdd_link_info *link_info,
  * hdd_report_actual_rate() - Fill the actual rate stats.
  * @rate_flags: The rate flags computed from rate
  * @my_rate: The rate from fw stats
- * @rate: The station_info struct member strust rate_info to be filled
+ * @rate: The station_info struct member struct rate_info to be filled
  * @mcs_index: The mcs index computed from rate
  * @nss: The NSS from fw stats
  * @dcm: the dcm computed from rate

+ 1 - 1
core/mac/inc/sir_api.h

@@ -3723,7 +3723,7 @@ struct chip_pwr_save_fail_detected_params {
  */
 #define DEFAULT_SCAN_IE_ID 256
 
- /* MAX_DEFAULT_SCAN_IE_LEN - Maxmimum length of Default Scan IE's */
+ /* MAX_DEFAULT_SCAN_IE_LEN - Maximum length of Default Scan IE's */
 #define MAX_DEFAULT_SCAN_IE_LEN 2048
 
  /* Extended Capabilities IE header(IE Id + IE Length) length */

+ 2 - 2
core/pld/inc/pld_common.h

@@ -1004,8 +1004,8 @@ static inline int pld_get_driver_load_cnt(struct device *dev)
  * @dev: device
  * @vote: 0 for enable PCIE PC, 1 for disable PCIE PC
  *
- * This is for PCIE power collaps control during suspend/resume.
- * When PCIE power collaps is disabled, WLAN FW can access memory
+ * This is for PCIE power collapse control during suspend/resume.
+ * When PCIE power collapse is disabled, WLAN FW can access memory
  * through PCIE when system is suspended.
  *
  * Return: 0 for success

+ 1 - 1
core/sme/inc/sme_api.h

@@ -1791,7 +1791,7 @@ bool sme_is_any_session_in_connected_state(mac_handle_t mac_handle);
 QDF_STATUS sme_pdev_set_hw_mode(struct policy_mgr_hw_mode msg);
 
 /**
- * sme_nss_update_request() - Send beacon templete update to FW with new
+ * sme_nss_update_request() - Send beacon template update to FW with new
  * nss value
  * @mac_handle: Handle returned by macOpen
  * @vdev_id: the session id

+ 2 - 2
core/sme/src/qos/sme_qos.c

@@ -3984,7 +3984,7 @@ static QDF_STATUS sme_qos_process_del_ts_ind(struct mac_context *mac,
 	search_key.key.ac_type = ac;
 	search_key.index = SME_QOS_SEARCH_KEY_INDEX_2;
 	search_key.sessionId = sessionId;
-	/* find all Flows on the perticular AC & delete them, also send HDD
+	/* find all Flows on the particular AC & delete them, also send HDD
 	 * indication through the callback it registered per request
 	 */
 	if (!QDF_IS_STATUS_SUCCESS
@@ -6214,7 +6214,7 @@ static QDF_STATUS sme_qos_modify_fnp(struct mac_context *mac, tListElem *pEntry)
 
 /*
  * sme_qos_del_ts_ind_fnp() - Utility function (pointer) to find all Flows on
- *  the perticular AC & delete them, also send HDD indication through the
+ *  the particular AC & delete them, also send HDD indication through the
  * callback it registered per request
  *
  * mac - Pointer to the global MAC parameter structure.

+ 3 - 3
core/wma/src/wma_features.c

@@ -1261,12 +1261,12 @@ static QDF_STATUS wma_wow_set_wake_time(WMA_HANDLE wma_handle, uint8_t vdev_id,
 	int ret;
 	tp_wma_handle wma = (tp_wma_handle)wma_handle;
 
-	wma_debug("send timer patter with time: %d and vdev = %d to fw",
-		 time, vdev_id);
+	wma_debug("send timer pattern with time: %d and vdev = %d to fw",
+		  time, vdev_id);
 	ret = wmi_unified_wow_timer_pattern_cmd(wma->wmi_handle, vdev_id,
 						cookie, time);
 	if (ret) {
-		wma_err("Failed to send timer patter to fw");
+		wma_err("Failed to send timer pattern to fw");
 		return QDF_STATUS_E_FAILURE;
 	}