aboutsummaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2011-09-15 16:31:43 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-09-16 11:33:06 +0300
commit6be26a3f016807c7d4dd08aae67e3455d5b7e99f (patch)
tree6d45e692a0722eb8d9ab373907511269479391b9 /src/device.c
parent6a6da5de107e192f62ce2ecdde96eae985181df0 (diff)
downloadbluez-6be26a3f016807c7d4dd08aae67e3455d5b7e99f.tar.gz
bluez-6be26a3f016807c7d4dd08aae67e3455d5b7e99f.tar.xz
bluez-6be26a3f016807c7d4dd08aae67e3455d5b7e99f.zip
Remove storing device type
Device type doesn't need to be stored since GATT services information exported through basic rate can be retrieved from the SDP records. Device "type" is also a wrong expression to represent the operation mode: over which transport GATT service is being exported.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index d54edbb2..3be328d1 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1500,7 +1500,6 @@ cleanup:
device_get_address(device, &dba);
store_profiles(device);
- write_device_type(&sba, &dba, device->type);
}
device->browse = NULL;
@@ -1588,7 +1587,6 @@ static void store_services(struct btd_device *device)
adapter_get_address(adapter, &sba);
device_get_address(device, &dba);
- write_device_type(&sba, &dba, device->type);
write_device_services(&sba, &dba, str);
g_free(str);