Diff between 214278a37f829ec5d4590f331014c8c0de7d75a2 and d4f377a52323a1b59609edbab2c876ab940496dc

Changed Files

File Additions Deletions Status
src/adapter.c +1 -1 modified

Full Patch

diff --git a/src/adapter.c b/src/adapter.c
index 3c20082..4657b55 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -9436,7 +9436,7 @@ static void exp_debug_func(struct btd_adapter *adapter, uint32_t flags)
 
 	memset(&cp, 0, sizeof(cp));
 	memcpy(cp.uuid, debug_uuid, 16);
-	cp.action = btd_opts.experimental ? 0x01 : 0x00;
+	cp.action = action;
 
 	if (mgmt_send(adapter->mgmt, MGMT_OP_SET_EXP_FEATURE,
 			adapter->dev_id, sizeof(cp), &cp,