[PATCH] wifi: iwlwifi: fix spelling mistakes

Mouri <[email protected]>
Newsgroups org.kernel.vger.linux-wireless
Message-ID <[email protected]>
Fix several spelling mistakes in the iwlwifi driver documentation
and comments.

Signed-off-by: Mouri <[email protected]>
---
 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h | 2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c  | 6 +++---
 drivers/net/wireless/intel/iwlwifi/mvm/scan.c      | 2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/sta.h       | 4 ++--
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c        | 6 +++---
 drivers/net/wireless/intel/iwlwifi/mvm/utils.c     | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h b/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
index 07f1240df866..692bb17dfc33 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/error-dump.h
@@ -352,7 +352,7 @@ struct iwl_fw_ini_error_dump_register {
  * struct iwl_fw_ini_dump_cfg_name - configuration name
  * @image_type: image type the configuration is related to
  * @cfg_name_len: length of the configuration name
- * @cfg_name: name of the configuraiton
+ * @cfg_name: name of the configuration
  */
 struct iwl_fw_ini_dump_cfg_name {
 	__le32 image_type;
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
index 3e73a6195fd9..88bdff486bd4 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
@@ -2302,7 +2302,7 @@ int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm,
 			iwl_mvm_parse_ppe(mvm, pkt_ext, nss, ru_index_bitmap,
 					  ppe, ppe_pos_bit, true);
 		/* EHT PPE Thresholds doesn't exist - set the API according to
-		 * HE PPE Tresholds
+		 * HE PPE Thresholds
 		 */
 		} else if (link_sta->he_cap.he_cap_elem.phy_cap_info[6] &
 			   IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT) {
@@ -2364,7 +2364,7 @@ int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm,
 }
 
 /*
- * This function sets the MU EDCA parameters ans returns whether MU EDCA
+ * This function sets the MU EDCA parameters and returns whether MU EDCA
  * is enabled or not
  */
 bool iwl_mvm_set_fw_mu_edca_params(struct iwl_mvm *mvm,
@@ -3617,7 +3617,7 @@ static void iwl_mvm_mei_host_associated(struct iwl_mvm *mvm,
 		break;
 	default:
 		/* auth method / AKM not supported */
-		/* TODO: All the FT vesions of these? */
+		/* TODO: All the FT versions of these? */
 		return;
 	}
 
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
index 3831b3c27e0f..d0ea18c5f03b 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
@@ -2226,7 +2226,7 @@ static u16 iwl_mvm_scan_umac_flags(struct iwl_mvm *mvm,
 
 	/*
 	 * Extended dwell is relevant only for low band to start with, as it is
-	 * being used for social channles only (1, 6, 11), so we can check
+	 * being used for social channels only (1, 6, 11), so we can check
 	 * only scan type on low band also for CDB.
 	 */
 	if (iwl_mvm_is_regular_scan(params) &&
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
index ff099aec7886..1cc0f703d675 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h
@@ -75,7 +75,7 @@ struct iwl_mvm_vif;
 /**
  * DOC: station table - introduction
  *
- * The station table is a list of data structure that reprensent the stations.
+ * The station table is a list of data structure that represent the stations.
  * In STA/P2P client mode, the driver will hold one station for the AP/ GO.
  * In GO/AP mode, the driver will have as many stations as associated clients.
  * All these stations are reflected in the fw's station table. The driver
@@ -292,7 +292,7 @@ enum iwl_mvm_rxq_notif_type {
 /**
  * struct iwl_mvm_internal_rxq_notif - Internal representation of the data sent
  * in &iwl_rxq_sync_cmd. Should be DWORD aligned.
- * FW is agnostic to the payload, so there are no endianity requirements.
+ * FW is agnostic to the payload, so there are no endianness requirements.
  *
  * @type: value from &iwl_mvm_rxq_notif_type
  * @sync: ctrl path is waiting for all notifications to be received
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
index d3c2fe830477..2beea10302ab 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c
@@ -530,7 +530,7 @@ static bool iwl_mvm_use_host_rate(struct iwl_mvm *mvm,
 	 * Not a data frame, use host rate if on an old device that
 	 * can't possibly be doing MLO (firmware may be selecting a
 	 * bad rate), if we might be doing MLO we need to let FW pick
-	 * (since we don't necesarily know the link), but FW rate
+	 * (since we don't necessarily know the link), but FW rate
 	 * selection was fixed.
 	 */
 	return mvm->trans->mac_cfg->device_family < IWL_DEVICE_FAMILY_BZ;
@@ -914,7 +914,7 @@ static int iwl_mvm_tx_tso(struct iwl_mvm *mvm, struct sk_buff *skb,
 
 	/*
 	 * Do not build AMSDU for IPv6 with extension headers.
-	 * ask stack to segment and checkum the generated MPDUs for us.
+	 * ask stack to segment and checksum the generated MPDUs for us.
 	 */
 	if (skb->protocol == htons(ETH_P_IPV6) &&
 	    ((struct ipv6hdr *)skb_network_header(skb))->nexthdr !=
@@ -1664,7 +1664,7 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
 			 * its sequence control is 0. Note that for that same
 			 * reason, NDPs are never sent to A-MPDU'able queues
 			 * so that we can never have more than one freed frame
-			 * for a single Tx resonse (see WARN_ON below).
+			 * for a single Tx response (see WARN_ON below).
 			 */
 			if (ieee80211_is_qos_nullfunc(hdr->frame_control))
 				is_ndp = true;
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
index 2e12f93ad32b..9398c9e3193a 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
@@ -135,7 +135,7 @@ int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd,
 }
 
 /*
- * We assume that the caller set the status to the sucess value
+ * We assume that the caller set the status to the success value
  */
 int iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id, u16 len,
 				const void *data, u32 *status)
@@ -284,7 +284,7 @@ int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq)
  * @smps_request: The request to change the SMPS mode.
  * @link_id: for MLO link_id, otherwise 0 (deflink)
  *
- * Get a requst to change the SMPS mode,
+ * Get a request to change the SMPS mode,
  * and change it according to all other requests in the driver.
  */
 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.