summaryrefslogtreecommitdiff
path: root/attrib/utils.c
diff options
context:
space:
mode:
authorEder Ruiz Maria <eder.ruiz@openbossa.org>2013-04-02 19:31:20 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-07 18:11:03 +0300
commit189cc8203eac4f327bd375434560e4ebafaad079 (patch)
tree48e9d67c9f508da63c459218506190ec913c41f7 /attrib/utils.c
parent8f84a47e8d41f88ecf6f4ffb4e450a81c27ae1e6 (diff)
downloadbluez-189cc8203eac4f327bd375434560e4ebafaad079.tar.gz
gatttool: Remove check for bluetooth address parameter on gatt_connect()
This check is more appropriate to be done by callers of gatt_connect(). This is already done on interactive mode in attrib/interactive.c and is now also done in non-interactive mode.
Diffstat (limited to 'attrib/utils.c')
-rw-r--r--attrib/utils.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/attrib/utils.c b/attrib/utils.c
index f9813d1f4..c8c865100 100644
--- a/attrib/utils.c
+++ b/attrib/utils.c
@@ -50,11 +50,6 @@ GIOChannel *gatt_connect(const gchar *src, const gchar *dst,
GError *err = NULL;
BtIOSecLevel sec;
- /* Remote device */
- if (dst == NULL) {
- g_printerr("Remote Bluetooth address required\n");
- return NULL;
- }
str2ba(dst, &dba);
/* Local adapter */