qcacld-3.0: Rename dp_dettach_ctx()
Rename dp_dettach_ctx() to dp_detach_ctx() to fix misspelling: dettach ==> detach Change-Id: If8e41fe29fd0bdcdd92113a4f67f3eff1ee0f5c3 CRs-Fixed: 3281824
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d911c94cbf
commit
3ff3909b9c
@@ -283,13 +283,13 @@ dp_psoc_obj_destroy_notification(struct wlan_objmgr_psoc *psoc, void *arg);
|
||||
void dp_attach_ctx(struct wlan_dp_psoc_context *dp_ctx);
|
||||
|
||||
/**
|
||||
* dp_dettach_ctx() - to dettach dp context
|
||||
* dp_detach_ctx() - to detach dp context
|
||||
*
|
||||
* Helper function to dettach dp context
|
||||
* Helper function to detach dp context
|
||||
*
|
||||
* Return: None.
|
||||
*/
|
||||
void dp_dettach_ctx(void);
|
||||
void dp_detach_ctx(void);
|
||||
|
||||
/**
|
||||
* dp_get_context() - to get dp context
|
||||
|
@@ -63,7 +63,7 @@ void dp_free_ctx(void)
|
||||
|
||||
qdf_spinlock_destroy(&dp_ctx->intf_list_lock);
|
||||
qdf_list_destroy(&dp_ctx->intf_list);
|
||||
dp_dettach_ctx();
|
||||
dp_detach_ctx();
|
||||
qdf_mem_free(dp_ctx);
|
||||
}
|
||||
|
||||
@@ -1113,10 +1113,10 @@ void dp_attach_ctx(struct wlan_dp_psoc_context *dp_ctx)
|
||||
gp_dp_ctx = dp_ctx;
|
||||
}
|
||||
|
||||
void dp_dettach_ctx(void)
|
||||
void dp_detach_ctx(void)
|
||||
{
|
||||
if (!gp_dp_ctx) {
|
||||
dp_err("global dp ctx is already dettached");
|
||||
dp_err("global dp ctx is already detached");
|
||||
return;
|
||||
}
|
||||
gp_dp_ctx = NULL;
|
||||
|
Reference in New Issue
Block a user