Diff between e696bce8a59e46e10a365bc56e8be5b4693de2f0 and 1dbe2217a4cc18f1263408027749e52a2ec9a190

Changed Files

File Additions Deletions Status
emulator/btdev.c +7 -0 modified
emulator/btdev.h +1 -0 modified

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index 318cd5d..f2b0255 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -204,6 +204,10 @@ static void set_le_features(struct btdev *btdev)
 	btdev->features[7] |= 0x80;	/* Extended features */
 }
 
+static void set_amp_features(struct btdev *btdev)
+{
+}
+
 struct btdev *btdev_create(enum btdev_type type, uint16_t id)
 {
 	struct btdev *btdev;
@@ -227,6 +231,9 @@ struct btdev *btdev_create(enum btdev_type type, uint16_t id)
 	case BTDEV_TYPE_LE:
 		set_le_features(btdev);
 		break;
+	case BTDEV_TYPE_AMP:
+		set_amp_features(btdev);
+		break;
 	}
 
 	btdev->acl_mtu = 192;
diff --git a/emulator/btdev.h b/emulator/btdev.h
index da194f6..db170d3 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -30,6 +30,7 @@ typedef void (*btdev_send_func) (const void *data, uint16_t len,
 enum btdev_type {
 	BTDEV_TYPE_BREDR,
 	BTDEV_TYPE_LE,
+	BTDEV_TYPE_AMP,
 };
 
 struct btdev;