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
diff --git a/core/sap/inc/sap_api.h b/core/sap/inc/sap_api.h
index 99257f8..2d6a574 100644
--- a/core/sap/inc/sap_api.h
+++ b/core/sap/inc/sap_api.h
@@ -194,7 +194,7 @@
 typedef enum {
 	eSAP_STATUS_SUCCESS,            /* Success.  */
 	eSAP_STATUS_FAILURE,            /* General Failure.  */
-	/* Channel not selected during intial scan.  */
+	/* Channel not selected during initial scan.  */
 	eSAP_START_BSS_CHANNEL_NOT_SELECTED,
 	eSAP_ERROR_MAC_START_FAIL,     /* Failed to start Infra BSS */
 } eSapStatus;
diff --git a/core/sap/src/sap_ch_select.c b/core/sap/src/sap_ch_select.c
index 3e38fef..d29aa9f 100644
--- a/core/sap/src/sap_ch_select.c
+++ b/core/sap/src/sap_ch_select.c
@@ -562,7 +562,7 @@
    FUNCTION    sap_chan_sel_init
 
    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
 
    DEPENDENCIES
@@ -1737,7 +1737,7 @@
    FUNCTION    sap_sort_chl_weight
 
    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
     NA.
@@ -1784,7 +1784,7 @@
 }
 
 /**
- * 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
  * @spect_info_params: Pointer to the tSapChSelSpectInfo structure
  *
@@ -1830,7 +1830,7 @@
  * sap_sort_chl_weight_ht80() - to sort the channels with the least weight
  * @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
  */
@@ -1962,7 +1962,7 @@
  * sap_sort_chl_weight_vht160() - to sort the channels with the least weight
  * @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
  */
@@ -2157,7 +2157,7 @@
  * sap_sort_chl_weight_ht40_24_g() - to sort channel with the least weight
  * @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
  */
@@ -2295,7 +2295,7 @@
    FUNCTION    sap_sort_chl_weight_ht40_5_g
 
    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
     NA.
@@ -2393,7 +2393,7 @@
    FUNCTION    sap_sort_chl_weight_all
 
    DESCRIPTION
-    Funtion to sort the channels with the least weight first
+    Function to sort the channels with the least weight first
 
    DEPENDENCIES
     NA.
diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c
index 14309d1..d566723 100644
--- a/core/sap/src/sap_fsm.c
+++ b/core/sap/src/sap_fsm.c
@@ -498,7 +498,7 @@
 
 	if (*dfs_region != DFS_ETSI_REG) {
 		QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_INFO,
-			 FL("sapdfs: defult cac duration"));
+			 FL("sapdfs: default cac duration"));
 		return;
 	}
 
@@ -1060,7 +1060,7 @@
 				/*
 				* In case of ACS req before start Bss,
 				* return failure so that the calling
-				* fucntion can use the default channel.
+				* function can use the default channel.
 				*/
 				return QDF_STATUS_E_FAILURE;
 			} else {
diff --git a/core/sap/src/sap_module.c b/core/sap/src/sap_module.c
index 23a4b2f..fec07e2 100644
--- a/core/sap/src/sap_module.c
+++ b/core/sap/src/sap_module.c
@@ -1171,7 +1171,7 @@
 }
 
 /**
- * wlansap_update_csa_channel_params() - fucntion to populate channel width and
+ * wlansap_update_csa_channel_params() - function to populate channel width and
  *                                        bonding modes.
  * @sap_context: sap adapter context
  * @channel: target channel
@@ -2490,7 +2490,7 @@
 	 *
 	 * 2. Set third parameter to TRUE to indicate the
 	 * channel selection function to register a
-	 * different scan callback fucntion to process
+	 * different scan callback function to process
 	 * the results pre start BSS.
 	 */
 	qdf_status = sap_goto_channel_sel(sap_context, &sapEvent, true, false);