diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-10-22 20:53:30 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-10-22 20:53:30 +0000 |
commit | b636ccf2c9c5f5c7419c49c556b118930012d2e7 (patch) | |
tree | f6c6b68355a72d8e704430c83dea937c71a2dabe /network | |
parent | c95ffdc65e97a75e65dbbd22e7fae7086346595e (diff) |
Fix code style.
Diffstat (limited to 'network')
-rw-r--r-- | network/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/connection.c b/network/connection.c index 439aaa30..933cdd98 100644 --- a/network/connection.c +++ b/network/connection.c @@ -647,7 +647,7 @@ int connection_register(const char *path, bdaddr_t *src, bdaddr_t *dst, bacpy(&default_src, BDADDR_ANY); dev_id = hci_get_route(&default_src); - if ((dev_id < 0) || (hci_devba(dev_id, &default_src) < 0)) + if (dev_id < 0 || hci_devba(dev_id, &default_src) < 0) return -1; nc = g_new0(struct network_conn, 1); |