Forráskód Böngészése

qcacld-3.0: Fix typo "comand"

Replace typo "comand" with correct spelling "command".

Change-Id: Ib2c4ac1cd6415ee4a2239a952239d5f15790c7f0
CRs-Fixed: 2238297
Jeff Johnson 7 éve
szülő
commit
0f7440e180
2 módosított fájl, 6 hozzáadás és 6 törlés
  1. 4 4
      core/hdd/src/wlan_hdd_ioctl.c
  2. 2 2
      core/hdd/src/wlan_hdd_p2p.c

+ 4 - 4
core/hdd/src/wlan_hdd_ioctl.c

@@ -6146,7 +6146,7 @@ static int hdd_set_rx_filter(struct hdd_adapter *adapter, bool action,
 }
 
 /**
- * hdd_driver_rxfilter_comand_handler() - RXFILTER driver command handler
+ * hdd_driver_rxfilter_command_handler() - RXFILTER driver command handler
  * @command: Pointer to input string driver command
  * @adapter: Pointer to adapter
  * @action: Action to enable/disable filtering
@@ -6171,7 +6171,7 @@ static int hdd_set_rx_filter(struct hdd_adapter *adapter, bool action,
  *
  * Return: 0 for success, non-zero for failure
  */
-static int hdd_driver_rxfilter_comand_handler(uint8_t *command,
+static int hdd_driver_rxfilter_command_handler(uint8_t *command,
 						struct hdd_adapter *adapter,
 						bool action)
 {
@@ -6218,7 +6218,7 @@ static int drv_cmd_rx_filter_remove(struct hdd_adapter *adapter,
 				uint8_t command_len,
 				struct hdd_priv_data *priv_data)
 {
-	return hdd_driver_rxfilter_comand_handler(command, adapter, false);
+	return hdd_driver_rxfilter_command_handler(command, adapter, false);
 }
 
 /**
@@ -6235,7 +6235,7 @@ static int drv_cmd_rx_filter_add(struct hdd_adapter *adapter,
 				uint8_t command_len,
 				struct hdd_priv_data *priv_data)
 {
-	return hdd_driver_rxfilter_comand_handler(command, adapter, true);
+	return hdd_driver_rxfilter_command_handler(command, adapter, true);
 }
 
 /**

+ 2 - 2
core/hdd/src/wlan_hdd_p2p.c

@@ -343,7 +343,7 @@ int wlan_hdd_cfg80211_mgmt_tx_cancel_wait(struct wiphy *wiphy,
  *
  ***FUNCTION:
  * This function is called from hdd_hostapd_ioctl function when Driver
- * get P2P_SET_NOA comand from wpa_supplicant using private ioctl
+ * get P2P_SET_NOA command from wpa_supplicant using private ioctl
  *
  ***LOGIC:
  * Fill noa Struct According to P2P Power save Option and Pass it to SME layer
@@ -420,7 +420,7 @@ int hdd_set_p2p_noa(struct net_device *dev, uint8_t *command)
  *
  ***FUNCTION:
  * This function is called from hdd_hostapd_ioctl function when Driver
- * get P2P_SET_PS comand from wpa_supplicant using private ioctl
+ * get P2P_SET_PS command from wpa_supplicant using private ioctl
  *
  ***LOGIC:
  * Fill noa Struct According to P2P Power save Option and Pass it to SME layer