Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12980442 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Remove BTSNOOP_MODULE

Bug: 197150934
Tag: #refactor
Test: gd/cert/run

Change-Id: Ib09e848ebc5f4bc8331eeef63db5a6f7097c1e53
parent c42ae6ce
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@
#include "btif_api.h"
#include "btif_common.h"
#include "common/message_loop_thread.h"
#include "hci/include/btsnoop.h"
#include "main/shim/shim.h"
#include "osi/include/log.h"
#include "osi/include/osi.h"
@@ -216,7 +215,6 @@ struct module_lookup {
const struct module_lookup module_table[] = {
    {BTE_LOGMSG_MODULE, &bte_logmsg_module},
    {BTIF_CONFIG_MODULE, &btif_config_module},
    {BTSNOOP_MODULE, &btsnoop_module},
    {BT_UTILS_MODULE, &bt_utils_module},
    {GD_CONTROLLER_MODULE, &gd_controller_module},
    {GD_IDLE_MODULE, &gd_idle_module},
@@ -306,7 +304,6 @@ static void event_start_up_stack(UNUSED_ATTR void* context) {
    module_start_up(get_local_module(BTIF_CONFIG_MODULE));
  } else {
    module_start_up(get_local_module(BTIF_CONFIG_MODULE));
    module_start_up(get_local_module(BTSNOOP_MODULE));
  }

  get_btm_client_interface().lifecycle.btm_init();
@@ -405,8 +402,6 @@ static void event_shut_down_stack(UNUSED_ATTR void* context) {
    LOG_INFO("%s Gd shim module disabled", __func__);
    module_shut_down(get_local_module(GD_SHIM_MODULE));
    module_start_up(get_local_module(GD_IDLE_MODULE));
  } else {
    module_shut_down(get_local_module(BTSNOOP_MODULE));
  }

  hack_future = future_new();