Diff between 2c7190715e2c3c5540591d477c6170245d1fd7a7 and 00f4a456ec6306dba225626fb27a4b108dd64047

Changed Files

File Additions Deletions Status
tools/btpclient.c +2 -2 modified

Full Patch

diff --git a/tools/btpclient.c b/tools/btpclient.c
index 806403f..a8a65fd 100644
--- a/tools/btpclient.c
+++ b/tools/btpclient.c
@@ -368,9 +368,9 @@ static void btp_gap_set_connectable(uint8_t index, const void *param,
 	new_settings = adapter->current_settings;
 
 	if (cp->connectable)
-		new_settings |= 1 << BTP_GAP_SETTING_CONNECTABLE;
+		new_settings |= BTP_GAP_SETTING_CONNECTABLE;
 	else
-		new_settings &= ~(1 << BTP_GAP_SETTING_CONNECTABLE);
+		new_settings &= ~BTP_GAP_SETTING_CONNECTABLE;
 
 	update_current_settings(adapter, new_settings);