qcacld-3.0: Rename mac_register_sesssion_open_close_cb()

Rename mac_register_sesssion_open_close_cb() to fix misspelled word
"sesssion" in the name.

Change-Id: Ica569a3997c12baad2c61fed40e2f6721a833630
CRs-Fixed: 3278113
This commit is contained in:
Jeff Johnson
2022-08-27 17:47:15 -07:00
committed by Madan Koyyalamudi
parent dc0738a046
commit d911c94cbf
3 changed files with 12 additions and 10 deletions

View File

@@ -15717,9 +15717,9 @@ int hdd_register_cb(struct hdd_context *hdd_ctx)
sme_set_md_bl_evt_cb(mac_handle, hdd_md_bl_evt_cb, (void *)hdd_ctx);
#endif /* WLAN_FEATURE_MOTION_DETECTION */
mac_register_sesssion_open_close_cb(hdd_ctx->mac_handle,
hdd_sme_close_session_callback,
hdd_common_roam_callback);
mac_register_session_open_close_cb(hdd_ctx->mac_handle,
hdd_sme_close_session_callback,
hdd_common_roam_callback);
sme_set_roam_scan_ch_event_cb(mac_handle, hdd_get_roam_scan_ch_cb);
status = sme_set_monitor_mode_cb(mac_handle,

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2011-2020 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
@@ -102,14 +103,14 @@ QDF_STATUS mac_open(struct wlan_objmgr_psoc *psoc, mac_handle_t *mac_handle,
QDF_STATUS mac_close(mac_handle_t mac_handle);
/**
* mac_register_sesssion_open_close_cb() - register open/close session cb
* mac_register_session_open_close_cb() - register open/close session cb
* @mac_handle: Opaque handle to the MAC context
* @close_session: callback to be registered with SME for closing the session
* @callback: Common callback to hdd for all modes
*/
void mac_register_sesssion_open_close_cb(mac_handle_t mac_handle,
csr_session_close_cb close_session,
csr_roam_complete_cb callback);
void mac_register_session_open_close_cb(mac_handle_t mac_handle,
csr_session_close_cb close_session,
csr_roam_complete_cb callback);
#ifdef WLAN_BCN_RECV_FEATURE
/**

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2011-2020 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
@@ -187,9 +188,9 @@ QDF_STATUS mac_close(mac_handle_t mac_handle)
return QDF_STATUS_SUCCESS;
}
void mac_register_sesssion_open_close_cb(mac_handle_t mac_handle,
csr_session_close_cb close_session,
csr_roam_complete_cb callback)
void mac_register_session_open_close_cb(mac_handle_t mac_handle,
csr_session_close_cb close_session,
csr_roam_complete_cb callback)
{
struct mac_context *mac = MAC_CONTEXT(mac_handle);