qcacld-3.0: components: p2p: Fix misspellings

Fix misspellings in components/p2p/...

Change-Id: I220faae813cd79d7b5fe656158768d1eff4718de
CRs-Fixed: 3303638
Этот коммит содержится в:
Jeff Johnson
2022-09-29 14:29:29 -07:00
коммит произвёл Madan Koyyalamudi
родитель 6e7e6e3c02
Коммит ef20cc3a0e
7 изменённых файлов: 13 добавлений и 11 удалений

Просмотреть файл

@@ -725,7 +725,7 @@ QDF_STATUS p2p_psoc_object_open(struct wlan_objmgr_psoc *soc)
p2p_soc_obj = wlan_objmgr_psoc_get_comp_private_obj(soc,
WLAN_UMAC_COMP_P2P);
if (!p2p_soc_obj) {
p2p_err("p2p soc priviate object is NULL");
p2p_err("p2p soc private object is NULL");
return QDF_STATUS_E_FAILURE;
}

Просмотреть файл

@@ -2918,11 +2918,11 @@ p2p_set_rand_mac(struct wlan_objmgr_psoc *soc, uint32_t vdev_id,
status = p2p_set_mac_filter(soc, vdev_id, mac, freq, true,
p2p_set_mac_filter_callback, req_cookie);
if (status != QDF_STATUS_SUCCESS) {
p2p_err("random_mac:set mac fitler failure %d", status);
p2p_err("random_mac:set mac filter failure %d", status);
} else {
err = osif_request_wait_for_response(request);
if (err) {
p2p_err("random_mac:timeout for set mac fitler %d",
p2p_err("random_mac:timeout for set mac filter %d",
err);
} else {
priv = osif_request_priv(request);
@@ -3167,7 +3167,7 @@ QDF_STATUS p2p_process_mgmt_tx(struct tx_action_context *tx_ctx)
status = p2p_get_frame_info(tx_ctx->buf, tx_ctx->buf_len,
&(tx_ctx->frame_info));
if (status != QDF_STATUS_SUCCESS) {
p2p_err("unsupport frame");
p2p_err("unsupported frame");
status = QDF_STATUS_E_INVAL;
goto fail;
}

Просмотреть файл

@@ -346,7 +346,7 @@ struct tx_action_context *p2p_find_tx_ctx_by_nbuf(
#define P2P_80211_FRM_SA_OFFSET 10
/**
* p2p_del_random_mac() - del mac fitler from given vdev rand mac list
* p2p_del_random_mac() - del mac filter from given vdev rand mac list
* @soc: soc object
* @vdev_id: vdev id
* @rnd_cookie: random mac mgmt tx cookie

Просмотреть файл

@@ -334,7 +334,7 @@ static QDF_STATUS p2p_destroy_roc_ctx(struct p2p_roc_context *roc_ctx,
* @roc_ctx: remain on channel request
*
* This function stop roc timer, abort scan and unregister mgmt rx
* callbak.
* callback.
*
* Return: QDF_STATUS_SUCCESS - in case of success
*/
@@ -412,7 +412,7 @@ static void p2p_roc_timeout(void *pdata)
* @roc_ctx: remain on channel request
*
* This function init roc timer, start scan and register mgmt rx
* callbak.
* callback.
*
* Return: QDF_STATUS_SUCCESS - in case of success
*/

Просмотреть файл

@@ -17,7 +17,7 @@
*/
/**
* DOC: Contains mcc quota event public data structure definations
* DOC: Contains mcc quota event public data structure definitions
*/
#ifndef _WLAN_P2P_MCC_QUOTA_PUBLIC_STRUCT_H_
@@ -37,7 +37,7 @@ struct wlan_objmgr_vdev;
/**
* enum mcc_quota_type - mcc channel quota type
* @QUOTA_TYPE_CLEAR: target exits MCC state and clear mcc quota inforamtion
* @QUOTA_TYPE_CLEAR: target exits MCC state and clear mcc quota information
* @QUOTA_TYPE_FIXED: channel time quota is fixed and will not be changed
* @QUOTA_TYPE_DYNAMIC: channel time quota is dynamic and targe may change
* the quota based on the data activity

Просмотреть файл

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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
@@ -17,7 +18,7 @@
*/
/**
* DOC: Contains p2p public data structure definations
* DOC: Contains p2p public data structure definitions
*/
#ifndef _WLAN_P2P_PUBLIC_STRUCT_H_

Просмотреть файл

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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
@@ -230,7 +231,7 @@ void tgt_p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev,
QDF_STATUS tgt_p2p_mgmt_download_comp_cb(void *context,
qdf_nbuf_t buf, bool free)
{
p2p_debug("conext:%pK, buf:%pK, free:%d", context,
p2p_debug("context:%pK, buf:%pK, free:%d", context,
qdf_nbuf_data(buf), free);
qdf_nbuf_free(buf);