From 47486e2f87806088e84ba5da227d123f96ce6852 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 12 May 2018 14:33:58 -0700 Subject: [PATCH] qcacld-3.0: cds: Fix misspellings Address the following issue in the core/cds folder: CHECK: 'couter' may be misspelled - perhaps 'counter'? CHECK: 'defintions' may be misspelled - perhaps 'definitions'? CHECK: 'endianess' may be misspelled - perhaps 'endianness'? CHECK: 'extention' may be misspelled - perhaps 'extension'? CHECK: 'independant' may be misspelled - perhaps 'independent'? CHECK: 'initilize' may be misspelled - perhaps 'initialize'? CHECK: 'minumum' may be misspelled - perhaps 'minimum'? CHECK: 'recieve' may be misspelled - perhaps 'receive'? Change-Id: I8586ee1aa0a2ab59faa064ff534148511e662615 CRs-Fixed: 2241940 --- core/cds/inc/cds_ieee80211_common.h | 4 ++-- core/cds/inc/cds_ieee80211_defines.h | 10 +++++----- core/cds/inc/cds_sched.h | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/cds/inc/cds_ieee80211_common.h b/core/cds/inc/cds_ieee80211_common.h index ac63e9d319f4..aa2312665b5b 100644 --- a/core/cds/inc/cds_ieee80211_common.h +++ b/core/cds/inc/cds_ieee80211_common.h @@ -1325,7 +1325,7 @@ struct ieee80211_country_ie { struct ieee80211_fh_ie { uint8_t ie; /* IEEE80211_ELEMID_FHPARMS */ uint8_t len; - uint16_t dwell_time; /* endianess?? */ + uint16_t dwell_time; /* endianness?? */ uint8_t hop_set; uint8_t hop_pattern; uint8_t hop_index; @@ -1850,7 +1850,7 @@ enum { #define IEEE80211_FRAGMT_THRESHOLD_MAX 2346 /* max frag threshold */ /* - * Regulatory extention identifier for country IE. + * Regulatory extension identifier for country IE. */ #define IEEE80211_REG_EXT_ID 201 diff --git a/core/cds/inc/cds_ieee80211_defines.h b/core/cds/inc/cds_ieee80211_defines.h index 84641dbe6101..82b14b861018 100644 --- a/core/cds/inc/cds_ieee80211_defines.h +++ b/core/cds/inc/cds_ieee80211_defines.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2011, 2014-2015, 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 @@ -738,7 +738,7 @@ typedef enum _ieee80211_param { IEEE80211_PERSTA_KEYTABLE_SIZE, /* IBSS-only, read-only: persta key table size */ IEEE80211_RECEIVE_80211, /* deliver std 802.11 frames 802.11 instead of ethernet frames on the rx */ IEEE80211_SEND_80211, /* OS sends std 802.11 frames 802.11 instead of ethernet frames on tx side */ - IEEE80211_MIN_BEACON_COUNT, /* minumum number beacons to tx/rx before vap can pause */ + IEEE80211_MIN_BEACON_COUNT, /* minimum number beacons to tx/rx before vap can pause */ IEEE80211_IDLE_TIME, /* minimun no activity time before vap can pause */ IEEE80211_MIN_FRAMESIZE, /* smallest frame size we are allowed to receive */ /* features. 0:feature is off. 1:feature is on. */ @@ -748,7 +748,7 @@ typedef enum _ieee80211_param { IEEE80211_FEATURE_WDS, /* dynamic WDS feature */ IEEE80211_FEATURE_PRIVACY, /* encryption */ IEEE80211_FEATURE_DROP_UNENC, /* drop un encrypted frames */ - IEEE80211_FEATURE_COUNTER_MEASURES, /* turn on couter measures */ + IEEE80211_FEATURE_COUNTER_MEASURES, /* turn on counter measures */ IEEE80211_FEATURE_HIDE_SSID, /* turn on hide ssid feature */ IEEE80211_FEATURE_APBRIDGE, /* turn on internal mcast traffic bridging for AP */ IEEE80211_FEATURE_PUREB, /* turn on pure B mode for AP */ @@ -766,7 +766,7 @@ typedef enum _ieee80211_param { #ifdef ATH_COALESCING IEEE80211_FEATURE_TX_COALESCING, /* enable tx coalescing */ #endif - IEEE80211_FEATURE_VAP_IND, /* Repeater independant VAP */ + IEEE80211_FEATURE_VAP_IND, /* Repeater independent VAP */ IEEE80211_FIXED_RETRIES, /* fixed retries 0-4 */ IEEE80211_SHORT_GI, /* short gi on/off */ IEEE80211_HT40_INTOLERANT, @@ -1078,7 +1078,7 @@ enum { */ /* - * flag defintions for wlan_mlme_stop_bss(vap) API. + * flag definitions for wlan_mlme_stop_bss(vap) API. */ #define WLAN_MLME_STOP_BSS_F_SEND_DEAUTH 0x01 #define WLAN_MLME_STOP_BSS_F_CLEAR_ASSOC_STATE 0x02 diff --git a/core/cds/inc/cds_sched.h b/core/cds/inc/cds_sched.h index 646ace1224c3..02110afb55c8 100644 --- a/core/cds/inc/cds_sched.h +++ b/core/cds/inc/cds_sched.h @@ -390,7 +390,7 @@ static inline int cds_sched_handle_throughput_req( is ready to be used. QDF_STATUS_E_RESOURCES - System resources (other than memory) - are unavailable to initilize the scheduler + are unavailable to initialize the scheduler QDF_STATUS_E_NOMEM - insufficient memory exists to initialize the scheduler