diff options
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;  | 
