qcacld-3.0: sap: Fix misspellings

Address the following issues in the core/sap folder:
CHECK: 'availabe' may be misspelled - perhaps 'available'?
CHECK: 'defult' may be misspelled - perhaps 'default'?
CHECK: 'fucntion' may be misspelled - perhaps 'function'?
CHECK: 'Funtion' may be misspelled - perhaps 'Function'?
CHECK: 'intial' may be misspelled - perhaps 'initial'?

Change-Id: Id1e696f70d4d3c5ff650a353eb8402216909bc2c
CRs-Fixed: 2241944
This commit is contained in:
Jeff Johnson
2018-05-12 16:20:34 -07:00
committed by nshrivas
parent 0a266177ff
commit c7e4d16ff9
4 changed files with 13 additions and 13 deletions

View File

@@ -194,7 +194,7 @@ typedef enum {
typedef enum { typedef enum {
eSAP_STATUS_SUCCESS, /* Success. */ eSAP_STATUS_SUCCESS, /* Success. */
eSAP_STATUS_FAILURE, /* General Failure. */ eSAP_STATUS_FAILURE, /* General Failure. */
/* Channel not selected during intial scan. */ /* Channel not selected during initial scan. */
eSAP_START_BSS_CHANNEL_NOT_SELECTED, eSAP_START_BSS_CHANNEL_NOT_SELECTED,
eSAP_ERROR_MAC_START_FAIL, /* Failed to start Infra BSS */ eSAP_ERROR_MAC_START_FAIL, /* Failed to start Infra BSS */
} eSapStatus; } eSapStatus;

View File

@@ -562,7 +562,7 @@ uint8_t sap_select_preferred_channel_from_channel_list(uint8_t best_chnl,
FUNCTION sap_chan_sel_init FUNCTION sap_chan_sel_init
DESCRIPTION DESCRIPTION
Function sap_chan_sel_init allocates the memory, intializes the Function sap_chan_sel_init allocates the memory, initializes the
structures used by the channel selection algorithm structures used by the channel selection algorithm
DEPENDENCIES DEPENDENCIES
@@ -1737,7 +1737,7 @@ static void sap_chan_sel_exit(tSapChSelSpectInfo *pSpectInfoParams)
FUNCTION sap_sort_chl_weight FUNCTION sap_sort_chl_weight
DESCRIPTION DESCRIPTION
Funtion to sort the channels with the least weight first for 20MHz channels Function to sort the channels with the least weight first for 20MHz channels
DEPENDENCIES DEPENDENCIES
NA. NA.
@@ -1784,7 +1784,7 @@ static void sap_sort_chl_weight(tSapChSelSpectInfo *pSpectInfoParams)
} }
/** /**
* set_ht80_chl_bit() - to set availabe channel to ht80 channel bitmap * set_ht80_chl_bit() - to set available channel to ht80 channel bitmap
* @channel_bitmap: Pointer to the chan_bonding_bitmap structure * @channel_bitmap: Pointer to the chan_bonding_bitmap structure
* @spect_info_params: Pointer to the tSapChSelSpectInfo structure * @spect_info_params: Pointer to the tSapChSelSpectInfo structure
* *
@@ -1830,7 +1830,7 @@ static void set_ht80_chl_bit(chan_bonding_bitmap *channel_bitmap,
* sap_sort_chl_weight_ht80() - to sort the channels with the least weight * sap_sort_chl_weight_ht80() - to sort the channels with the least weight
* @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure
* *
* Funtion to sort the channels with the least weight first for HT80 channels * Function to sort the channels with the least weight first for HT80 channels
* *
* Return: none * Return: none
*/ */
@@ -1962,7 +1962,7 @@ static void sap_sort_chl_weight_ht80(tSapChSelSpectInfo *pSpectInfoParams)
* sap_sort_chl_weight_vht160() - to sort the channels with the least weight * sap_sort_chl_weight_vht160() - to sort the channels with the least weight
* @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure
* *
* Funtion to sort the channels with the least weight first for VHT160 channels * Function to sort the channels with the least weight first for VHT160 channels
* *
* Return: none * Return: none
*/ */
@@ -2157,7 +2157,7 @@ static void sap_allocate_max_weight_ht40_5_g(
* sap_sort_chl_weight_ht40_24_g() - to sort channel with the least weight * sap_sort_chl_weight_ht40_24_g() - to sort channel with the least weight
* @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure * @pSpectInfoParams: Pointer to the tSapChSelSpectInfo structure
* *
* Funtion to sort the channels with the least weight first for HT40 channels * Function to sort the channels with the least weight first for HT40 channels
* *
* Return: none * Return: none
*/ */
@@ -2295,7 +2295,7 @@ static void sap_sort_chl_weight_ht40_24_g(tSapChSelSpectInfo *pSpectInfoParams,
FUNCTION sap_sort_chl_weight_ht40_5_g FUNCTION sap_sort_chl_weight_ht40_5_g
DESCRIPTION DESCRIPTION
Funtion to sort the channels with the least weight first for HT40 channels Function to sort the channels with the least weight first for HT40 channels
DEPENDENCIES DEPENDENCIES
NA. NA.
@@ -2393,7 +2393,7 @@ static void sap_sort_chl_weight_ht40_5_g(tSapChSelSpectInfo *pSpectInfoParams)
FUNCTION sap_sort_chl_weight_all FUNCTION sap_sort_chl_weight_all
DESCRIPTION DESCRIPTION
Funtion to sort the channels with the least weight first Function to sort the channels with the least weight first
DEPENDENCIES DEPENDENCIES
NA. NA.

View File

@@ -498,7 +498,7 @@ static void sap_get_cac_dur_dfs_region(struct sap_context *sap_ctx,
if (*dfs_region != DFS_ETSI_REG) { if (*dfs_region != DFS_ETSI_REG) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO, QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO,
FL("sapdfs: defult cac duration")); FL("sapdfs: default cac duration"));
return; return;
} }
@@ -1060,7 +1060,7 @@ QDF_STATUS sap_goto_channel_sel(struct sap_context *sap_context,
/* /*
* In case of ACS req before start Bss, * In case of ACS req before start Bss,
* return failure so that the calling * return failure so that the calling
* fucntion can use the default channel. * function can use the default channel.
*/ */
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
} else { } else {

View File

@@ -1171,7 +1171,7 @@ QDF_STATUS wlansap_deauth_sta(struct sap_context *sap_ctx,
} }
/** /**
* wlansap_update_csa_channel_params() - fucntion to populate channel width and * wlansap_update_csa_channel_params() - function to populate channel width and
* bonding modes. * bonding modes.
* @sap_context: sap adapter context * @sap_context: sap adapter context
* @channel: target channel * @channel: target channel
@@ -2490,7 +2490,7 @@ QDF_STATUS wlansap_acs_chselect(struct sap_context *sap_context,
* *
* 2. Set third parameter to TRUE to indicate the * 2. Set third parameter to TRUE to indicate the
* channel selection function to register a * channel selection function to register a
* different scan callback fucntion to process * different scan callback function to process
* the results pre start BSS. * the results pre start BSS.
*/ */
qdf_status = sap_goto_channel_sel(sap_context, &sapEvent, true, false); qdf_status = sap_goto_channel_sel(sap_context, &sapEvent, true, false);