summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriti Aghera <paghera@broadcom.com>2012-05-02 13:21:44 -0700
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:19 -0700
commit4ac0a4a6cec2456b52626adcdd255cbfbe82eea8 (patch)
tree57aa2a2ad43e7b38e5dddceabdb2713eb94c6295
parent68bbfa9488d431307c5a9a39fca7e0c351519e30 (diff)
downloadexternal_bluetooth_bluedroid-4ac0a4a6cec2456b52626adcdd255cbfbe82eea8.zip
external_bluetooth_bluedroid-4ac0a4a6cec2456b52626adcdd255cbfbe82eea8.tar.gz
external_bluetooth_bluedroid-4ac0a4a6cec2456b52626adcdd255cbfbe82eea8.tar.bz2
Fix for VUP not working second time.
While removing the device teh device state was set incorrectly. Change-Id: I02f3091474d2a859c7644f45ba4b1e730afd8f77
-rwxr-xr-x[-rw-r--r--]btif/src/btif_hh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btif/src/btif_hh.c b/btif/src/btif_hh.c
index 2b4454d..39203ac 100644..100755
--- a/btif/src/btif_hh.c
+++ b/btif/src/btif_hh.c
@@ -335,7 +335,7 @@ void btif_hh_remove_device(bt_bdaddr_t bd_addr)
return;
}
- p_dev->dev_status = BTIF_HH_DEV_UNKNOWN;
+ p_dev->dev_status = BTHH_CONN_STATE_UNKNOWN;
p_dev->dev_handle = BTA_HH_INVALID_HANDLE;
if (btif_hh_cb.device_num > 0) {
btif_hh_cb.device_num--;