qcacld-3.0: Fix typo "capabilites"
Replace typo "capabilites" with correct spelling "capabilities".
Change-Id: I1c84c401fd732227d63a159bea7f7f3cefacf153
CRs-Fixed: 2237725
diff --git a/core/dp/txrx/ol_txrx_encap.h b/core/dp/txrx/ol_txrx_encap.h
index ec28804..8e612c5 100644
--- a/core/dp/txrx/ol_txrx_encap.h
+++ b/core/dp/txrx/ol_txrx_encap.h
@@ -36,7 +36,7 @@
* For native wifi format, the function will add Qos control field
* based on peer's QOS capbabilities .
* For 802.3 format, the function will transform to 802.11 format
- * with or without QOS control field based on peer's QOS capabilites.
+ * with or without QOS control field based on peer's QOS capabilities.
* @param vdev - handle to vdev object
* @param tx_desc - tx desc struct,some fields will be updated.
* @param msdu - qdf_nbuf_t
diff --git a/core/hdd/inc/wlan_hdd_oemdata.h b/core/hdd/inc/wlan_hdd_oemdata.h
index 56be0b1..530456e 100644
--- a/core/hdd/inc/wlan_hdd_oemdata.h
+++ b/core/hdd/inc/wlan_hdd_oemdata.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2018 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
@@ -158,7 +158,7 @@
};
/**
- * struct oem_get_capability_rsp - capabilites set by userspace and target.
+ * struct oem_get_capability_rsp - capabilities set by userspace and target.
* @target_cap: target capabilities
* @client_capabilities: capabilities set by userspace via set request
*/
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index 9f24ff2..3789996 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -689,7 +689,7 @@
QCA_WLAN_VENDOR_ATTR_TDLS_GET_CAPS_FEATURES_SUPPORTED
/**
- * __wlan_hdd_cfg80211_get_tdls_capabilities() - Provide TDLS Capabilites.
+ * __wlan_hdd_cfg80211_get_tdls_capabilities() - Provide TDLS Capabilities.
* @wiphy: WIPHY structure pointer
* @wdev: Wireless device structure pointer
* @data: Pointer to the data received
@@ -764,7 +764,7 @@
}
/**
- * wlan_hdd_cfg80211_get_tdls_capabilities() - Provide TDLS Capabilites.
+ * wlan_hdd_cfg80211_get_tdls_capabilities() - Provide TDLS Capabilities.
* @wiphy: WIPHY structure pointer
* @wdev: Wireless device structure pointer
* @data: Pointer to the data received
diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h
index 5e0deb7..b008dad 100644
--- a/core/mac/inc/sir_api.h
+++ b/core/mac/inc/sir_api.h
@@ -563,7 +563,7 @@
} qdf_packed tSirHTConfig, *tpSirHTConfig;
/**
- * struct sir_vht_config - VHT capabilites
+ * struct sir_vht_config - VHT capabilities
* @max_mpdu_len: MPDU length
* @supported_channel_widthset: channel width set
* @ldpc_coding: LDPC coding capability
diff --git a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
index 6e5b048..5671069 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
@@ -157,7 +157,7 @@
sta_ds->shortPreambleEnabled =
(uint8_t) assoc_rsp->capabilityInfo.shortPreamble;
- /* Update HT Capabilites only when the self mode supports HT */
+ /* Update HT Capabilities only when the self mode supports HT */
if (IS_DOT11_MODE_HT(session_entry->dot11mode))
lim_update_stads_htcap(mac_ctx, sta_ds, assoc_rsp,
session_entry);
diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c
index 9dd48ce..f95b501 100644
--- a/core/mac/src/pe/lim/lim_utils.c
+++ b/core/mac/src/pe/lim/lim_utils.c
@@ -6773,7 +6773,7 @@
* lim_merge_extcap_struct() - merge extended capabilities info
* @dst: destination extended capabilities
* @src: source extended capabilities
- * @add: true if add the capabilites, false if strip the capabilites.
+ * @add: true if add the capabilities, false if strip the capabilities.
*
* This function is used to take @src info and add/strip it to/from
* @dst extended capabilities info.
@@ -6792,11 +6792,11 @@
if (!src->present)
return;
- /* Return if strip the capabilites from @dst which not present */
+ /* Return if strip the capabilities from @dst which not present */
if (!dst->present && !add)
return;
- /* Merge the capabilites info in other cases */
+ /* Merge the capabilities info in other cases */
while (tempdst && tempsrc && structlen--) {
if (add)
*tempdst |= *tempsrc;