From 118a4a05af2d04e073dd7a0c6c6f3971ca684cd2 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 6 May 2018 00:14:15 -0700 Subject: [PATCH] qcacld-3.0: Fix typo "capabilites" Replace typo "capabilites" with correct spelling "capabilities". Change-Id: I1c84c401fd732227d63a159bea7f7f3cefacf153 CRs-Fixed: 2237725 --- core/dp/txrx/ol_txrx_encap.h | 2 +- core/hdd/inc/wlan_hdd_oemdata.h | 4 ++-- core/hdd/src/wlan_hdd_cfg80211.c | 4 ++-- core/mac/inc/sir_api.h | 2 +- core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c | 2 +- core/mac/src/pe/lim/lim_utils.c | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/dp/txrx/ol_txrx_encap.h b/core/dp/txrx/ol_txrx_encap.h index ec2880446303..8e612c5fd54b 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 56be0b1ca5e2..530456e994c7 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 @@ enum oem_capability_mask { }; /** - * 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 9f24ff27b80f..378999646d91 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -689,7 +689,7 @@ static inline void hdd_add_channel_switch_support(uint32_t *flags) 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 @@ fail: } /** - * 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 5e0deb7ea857..b008dad0757d 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -563,7 +563,7 @@ typedef struct sSirHtConfig { } 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 6e5b04898c9d..5671069b133e 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 @@ void lim_update_assoc_sta_datas(tpAniSirGlobal mac_ctx, 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 9dd48ce91314..f95b501d62ac 100644 --- a/core/mac/src/pe/lim/lim_utils.c +++ b/core/mac/src/pe/lim/lim_utils.c @@ -6773,7 +6773,7 @@ tSirRetStatus lim_strip_extcap_update_struct(tpAniSirGlobal mac_ctx, * 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 @@ void lim_merge_extcap_struct(tDot11fIEExtCap *dst, 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;