diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-04-15 14:09:53 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-04-15 14:09:53 +0000 |
commit | a437235f74a3b924245bb61254d49f30e9d93363 (patch) | |
tree | 582c84385a8ea4724f798c4773824249677a3b94 /hcid/adapter.c | |
parent | 004de00e5a159c3b11984e9ebda8c3f13d1b5154 (diff) |
Fix endiannes handling of connection handles
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r-- | hcid/adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c index 47dbed1d..3f8be357 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -2176,7 +2176,7 @@ gboolean dc_pending_timeout_handler(void *data) } /* Send the HCI disconnect command */ - if (hci_disconnect(dd, pending_dc->conn_handle, + if (hci_disconnect(dd, htobs(pending_dc->conn_handle), HCI_OE_USER_ENDED_CONNECTION, 500) < 0) { int err = errno; |