Diff between 0585258ea15893af854d35cc573f4e56094a5478 and 71d733b479d0f11183463d60c6789af27c1cc210

Changed Files

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

Full Patch

diff --git a/src/adapter.c b/src/adapter.c
index 52d2fc7..02c4f33 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -1907,9 +1907,6 @@ static void property_set_mode(struct btd_adapter *adapter, uint32_t setting,
 		goto failed;
 	}
 
-	memset(&cp, 0, sizeof(cp));
-	cp.val = (enable == TRUE) ? 0x01 : 0x00;
-
 	DBG("sending %s command for index %u", mgmt_opstr(opcode),
 							adapter->dev_id);