Revert "bt: add interface function to provide wakelock access"

This reverts commit 19f3696f85.
This commit is contained in:
Matthew Xie 2014-05-23 17:07:19 -07:00
parent fb8326e77e
commit d34c7d3d1a

View file

@ -324,10 +324,6 @@ typedef void (*le_test_mode_callback)(bt_status_t status, uint16_t num_packets);
/** TODO: Add callbacks for Link Up/Down and other generic /** TODO: Add callbacks for Link Up/Down and other generic
* notifications/callbacks */ * notifications/callbacks */
/** Wakelock callback */
/* Called to take/release wakelock to allow timers to work (temporary kluge) */
typedef void (*bt_wakelock_callback)(int acquire);
/** Bluetooth DM callback structure. */ /** Bluetooth DM callback structure. */
typedef struct { typedef struct {
/** set to sizeof(bt_callbacks_t) */ /** set to sizeof(bt_callbacks_t) */
@ -344,7 +340,6 @@ typedef struct {
callback_thread_event thread_evt_cb; callback_thread_event thread_evt_cb;
dut_mode_recv_callback dut_mode_recv_cb; dut_mode_recv_callback dut_mode_recv_cb;
le_test_mode_callback le_test_mode_cb; le_test_mode_callback le_test_mode_cb;
bt_wakelock_callback bt_wakelock_cb;
} bt_callbacks_t; } bt_callbacks_t;
/** NOTE: By default, no profiles are initialized at the time of init/enable. /** NOTE: By default, no profiles are initialized at the time of init/enable.