From dd2f1fc72e09c150c39da66bed559a83d9fa3012 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 6 May 2018 11:22:52 -0700 Subject: [PATCH] qcacld-3.0: Fix typo "adapater" Replace typo "adapater" with correct spelling "adapter". Change-Id: Ifde6c8e45d6e7e5d644982273928b84b067b0792 CRs-Fixed: 2238297 --- core/hdd/src/wlan_hdd_cfg80211.c | 4 ++-- core/hdd/src/wlan_hdd_lpass.c | 6 +++--- core/hdd/src/wlan_hdd_main.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 5eccfb2c4ea4..8b68e764d103 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -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 diff --git a/core/hdd/src/wlan_hdd_lpass.c b/core/hdd/src/wlan_hdd_lpass.c index 272377ee5ef1..779b727019f1 100644 --- a/core/hdd/src/wlan_hdd_lpass.c +++ b/core/hdd/src/wlan_hdd_lpass.c @@ -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. diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fbce2f2f5d89..668da413c115 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -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; }