device: Modify DA specific logic 16/309816/1
authorWootak Jung <wootak.jung@samsung.com>
Wed, 20 Mar 2024 23:02:02 +0000 (08:02 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 17 Apr 2024 05:01:09 +0000 (14:01 +0900)
Change-Id: Ic8d04b2c3c8e45b2a1c5aa86ae7aab6535f75ecd
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/device.c

index eaf9e5fa02c9f74d5dbcbe99cb2601494798e52d..98605002e82ce60d098bed84ca9290041840a903 100644 (file)
@@ -7369,7 +7369,7 @@ void device_unpair(struct btd_device *device, gboolean remove_stored)
        device->trusted_profiles.pbap = SHOW_AUTHORIZATION;
        device->trusted_profiles.map = SHOW_AUTHORIZATION;
        device->trusted_profiles.sap = SHOW_AUTHORIZATION;
-       if (TIZEN_MODEL_DA) {
+       if (TIZEN_FEATURE_BLUEZ_DA) {
                device->trusted_profiles.hfp_hs = SHOW_AUTHORIZATION;
                device->trusted_profiles.a2dp = SHOW_AUTHORIZATION;
        } else {