mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacmn: Avoid accessing freed pdev pointer
It is possible pdev already be freed in previous wlan_objmgr_pdev_component_obj_detach function. Here avoid to print this pointer again. Change-Id: I8618eec1c0a9f493141d0191a9a3e6c0a08305dd CRs-Fixed: 2751813
This commit is contained in:
parent
bedc5c7164
commit
fc461df2d5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 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
|
||||
|
|
@ -156,7 +156,7 @@ static QDF_STATUS wlan_green_ap_pdev_obj_destroy_notification(
|
|||
qdf_spinlock_destroy(&green_ap_ctx->lock);
|
||||
|
||||
qdf_mem_free(green_ap_ctx);
|
||||
green_ap_info("green ap deletion successful, pdev: %pK", pdev);
|
||||
green_ap_info("green ap deletion successful");
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue