qcacld-3.0: Fix typo "adapater"

Replace typo "adapater" with correct spelling "adapter".

Change-Id: Ifde6c8e45d6e7e5d644982273928b84b067b0792
CRs-Fixed: 2238297
This commit is contained in:
Jeff Johnson 2018-05-06 11:22:52 -07:00 • committed by nshrivas
commit dd2f1fc72e
3 changed files with 6 additions and 6 deletions

View file

@ -1816,7 +1816,7 @@ int wlan_hdd_cfg80211_start_acs(struct hdd_adapter *adapter)
int status;
if (!adapter) {
hdd_err("adapater is NULL");
hdd_err("adapter is NULL");
return -EINVAL;
}
hdd_ctx = WLAN_HDD_GET_CTX(adapter);
@ -10102,7 +10102,7 @@ static int wlan_hdd_validate_and_get_pre_cac_ch(struct hdd_context *hdd_ctx,
* wlan_hdd_request_pre_cac() - Start pre CAC in the driver
* @channel: Channel option provided by userspace
*
* Sets the driver to the required hardware mode and start an adapater for
* Sets the driver to the required hardware mode and start an adapter for
* pre CAC which will mimic an AP.
*
* Return: Zero on success, non-zero value on error

View file

@ -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
@ -72,7 +72,7 @@ static void wlan_hdd_get_channel_info(struct hdd_context *hdd_ctx,
* @adapter: Adapter whose status is to being packaged
* @sta_ctx: Station-specific context of @adapter
* @is_on: Is wlan driver loaded?
* @is_connected: Is @adapater connected to an AP?
* @is_connected: Is @adapter connected to an AP?
*
* Generate a wlan vdev status package. The status info includes wlan
* on/off status, vdev ID, vdev mode, supported channels, etc.
@ -191,7 +191,7 @@ static int wlan_hdd_gen_wlan_version_pack(struct wlan_version_data *data,
* @adapter: Adapter whose status is to be sent to lpass
* @sta_ctx: Station-specific context of @adapter
* @is_on: Is @adapter enabled
* @is_connected: Is @adapater connected
* @is_connected: Is @adapter connected
*
* Generate wlan vdev status pacakge and send it to a user space
* daemon through netlink.

View file

@ -12650,7 +12650,7 @@ void hdd_clean_up_pre_cac_interface(struct hdd_context *hdd_ctx)
precac_adapter = hdd_get_adapter_by_vdev(hdd_ctx, session_id);
if (!precac_adapter) {
hdd_err("invalid pre cac adapater");
hdd_err("invalid pre cac adapter");
return;
}