From 344789216712689037f57cb7bc2dc7a333a95333 Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Tue, 26 Aug 2008 16:41:43 +0530 Subject: Removing pinq_idle from struct adapter. --- src/dbus-hci.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index b713b16f..5e6285ac 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -969,8 +969,6 @@ void hcid_dbus_inquiry_complete(bdaddr_t *local) } } - adapter->pinq_idle = 1; - /* * Enable resolution again: standard inquiry can be * received in the periodic inquiry idle state. @@ -1242,10 +1240,7 @@ void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class, adapter_set_state(adapter, state); } - /* reset the idle flag when the inquiry complete event arrives */ if (adapter_get_state(adapter) & PERIODIC_INQUIRY) { - adapter->pinq_idle = 0; - /* Out of range list update */ l = g_slist_find_custom(adapter->oor_devices, peer_addr, (GCompareFunc) strcmp); -- cgit