diff options
| -rw-r--r-- | hcid/dbus-rfcomm.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/hcid/dbus-rfcomm.c b/hcid/dbus-rfcomm.c index bf5c2fbf..2324489c 100644 --- a/hcid/dbus-rfcomm.c +++ b/hcid/dbus-rfcomm.c @@ -181,6 +181,7 @@ static int rfcomm_release(struct rfcomm_node *node, int *err)  	memset(&req, 0, sizeof(req));  	req.dev_id = node->id; +	req.flags = (1 << RFCOMM_HANGUP_NOW);  	if (ioctl(rfcomm_ctl, RFCOMMRELEASEDEV, &req) < 0) {  		if (err) | 
