mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Allocate DP_TRACE buffer dynamically
Allocate memory for g_qdf_dp_trace_tbl buffer dynamically. Change-Id: Id9c757fd700929528b8a047248aa942134f60160 CRs-Fixed: 2268787
This commit is contained in:
parent
2353f2df10
commit
308073384d
2 changed files with 4 additions and 0 deletions
|
|
@ -6892,6 +6892,8 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
|
|||
unregister_reboot_notifier(&system_reboot_notifier);
|
||||
unregister_netdevice_notifier(&hdd_netdev_notifier);
|
||||
|
||||
qdf_dp_trace_deinit();
|
||||
|
||||
hdd_wlan_stop_modules(hdd_ctx, false);
|
||||
|
||||
hdd_driver_memdump_deinit();
|
||||
|
|
@ -11059,6 +11061,7 @@ err_unregister_netdev:
|
|||
unregister_netdevice_notifier(&hdd_netdev_notifier);
|
||||
|
||||
err_wiphy_unregister:
|
||||
qdf_dp_trace_deinit();
|
||||
wiphy_unregister(hdd_ctx->wiphy);
|
||||
|
||||
err_stop_modules:
|
||||
|
|
|
|||
|
|
@ -1417,6 +1417,7 @@ QDF_STATUS hdd_wlan_re_init(void)
|
|||
goto success;
|
||||
|
||||
err_re_init:
|
||||
qdf_dp_trace_deinit();
|
||||
/* Allow the phone to go to sleep */
|
||||
hdd_allow_suspend(WIFI_POWER_EVENT_WAKELOCK_DRIVER_REINIT);
|
||||
if (bug_on_reinit_failure)
|
||||
|
|
|
|||
Loading…
Reference in a new issue