Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 301c956d authored by Hemant Gupta's avatar Hemant Gupta Committed by Gerrit - the friendly Code Review server
Browse files

Bluetooth: OBEX: Don't close transport when obex is disconnected

A case when remote device has disconnected obex connection, but
has still kept the transport (L2CAP/RFCOMM) open. In such cases
obex server was unnecessary assuming that transport would be
disconnected so was informing registered users that transport has
been disconnected, which was leading to issues on new obex connect
on same transport channel from remote obex client. This patch removes
check to break out of loop after obex disconnection, as that is
already handled in case when read would return -1 in case transport
is closed.

Change-Id: Ic1682ce77c07cf2e43da09dc95fff2214338f758
CRs-Fixed: 935761
parent cbc686be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment