diff options
| -rw-r--r-- | hcid/dbus-adapter.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c index 4312c284..417a907c 100644 --- a/hcid/dbus-adapter.c +++ b/hcid/dbus-adapter.c @@ -1844,7 +1844,7 @@ static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,  	memset(&rp, 0, sizeof(rp));  	memset(&cp, 0, sizeof(cp)); -	cp.handle = cinfo.hci_handle; +	cp.handle = htobs(cinfo.hci_handle);  	memset(&rq, 0, sizeof(rq));  	rq.ogf    = OGF_LINK_CTL; | 
