Browse Source

qcacmn: spectral: Fix misspellings

Fix misspellings in spectral/...

Change-Id: I2477dbd5ecccc508d5dfdfc8006fe2255ba0dda8
CRs-Fixed: 3304692
Jeff Johnson 2 years ago
parent
commit
9c3acb0121

+ 2 - 2
spectral/core/spectral_common.c

@@ -530,7 +530,7 @@ wlan_spectral_psoc_obj_create_handler(struct wlan_objmgr_psoc *psoc, void *arg)
 
 	status = wlan_spectral_init_psoc_feature_cap(psoc);
 	if (QDF_IS_STATUS_ERROR(status)) {
-		spectral_err("Failed to intitialize spectral pdev feature caps");
+		spectral_err("Failed to initialize spectral pdev feature caps");
 		return QDF_STATUS_E_FAILURE;
 	}
 
@@ -599,7 +599,7 @@ wlan_spectral_pdev_obj_create_handler(struct wlan_objmgr_pdev *pdev, void *arg)
 
 	status = wlan_spectral_init_pdev_feature_caps(pdev);
 	if (QDF_IS_STATUS_ERROR(status)) {
-		spectral_err("Failed to intitialize spectral pdev feature caps");
+		spectral_err("Failed to initialize spectral pdev feature caps");
 		return QDF_STATUS_E_FAILURE;
 	}
 

+ 1 - 1
spectral/dispatcher/inc/spectral_ioctl.h

@@ -671,7 +671,7 @@ struct spectral_samp_msg {
  * @bin_pwr:                  Contains FFT magnitudes
  * @bin_pwr_sec80:            Contains FFT magnitudes for the secondary 80
  *                            segment
- * @interf_list:              List of interfernce sources
+ * @interf_list:              List of interference sources
  * @noise_floor:              Indicates the current noise floor
  * @noise_floor_sec80:        Indicates the current noise floor for secondary 80
  *                            segment

+ 3 - 3
spectral/dispatcher/inc/wlan_spectral_tgt_api.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
- *
+ * Copyright (c) 2022 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
@@ -226,7 +226,7 @@ QDF_STATUS tgt_get_spectral_diagstats(struct wlan_objmgr_pdev *pdev,
 
 /**
  * tgt_register_spectral_wmi_ops() - Register Spectral WMI operations
- * @psoc: Pointer to psoc bject
+ * @psoc: Pointer to psoc object
  * @wmi_ops: Pointer to the structure having Spectral WMI operations
  *
  * Implementation to register Spectral WMI operations in spectral
@@ -239,7 +239,7 @@ QDF_STATUS tgt_register_spectral_wmi_ops(struct wlan_objmgr_psoc *psoc,
 
 /**
  * tgt_register_spectral_tgt_ops() - Register Spectral target operations
- * @psoc: Pointer to psoc bject
+ * @psoc: Pointer to psoc object
  * @tgt_ops: Pointer to the structure having Spectral target operations
  *
  * Implementation to register Spectral target operations in spectral

+ 2 - 2
spectral/dispatcher/inc/wlan_spectral_utils_api.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
- *
+ * Copyright (c) 2022 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
@@ -134,7 +134,7 @@ wlan_register_spectral_tgt_ops(struct wlan_objmgr_psoc *psoc,
  * @vdev_get_chan_freq:          Get channel frequency
  * @vdev_get_chan_freq_seg2:     Get secondary 80 center frequency
  * @vdev_get_ch_width:           Get channel width
- * @vdev_get_sec20chan_freq_mhz: Get seconadry 20 frequency
+ * @vdev_get_sec20chan_freq_mhz: Get secondary 20 frequency
  */
 struct spectral_legacy_cbacks {
 	int16_t (*vdev_get_chan_freq)(struct wlan_objmgr_vdev *vdev);