OSDN Git Service

Return handle if an RFCOMM port is already open
authorAndre Eisenbach <eisenbach@google.com>
Thu, 5 May 2016 17:57:44 +0000 (10:57 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 5 May 2016 20:49:04 +0000 (20:49 +0000)
commitcafe4ea4a969431e3783d7e9dcb701cf8052abd2
treeb97b10bb01c7014fbe275efb1f47034e808b5b5e
parent1a3dc131a8fbac2db5bd7d7d8ace71d8087a5c12
Return handle if an RFCOMM port is already open

By returning the handle, the upper layer (BTA) will attempt to
disconnect on failure to connect. Thus the attempt to open the port will
still fail, but any subsequent attempts will be able to recover.

Bug: 27204458
Change-Id: I0f8489b98adeb7f5e217201ffbbb35132a66f210
stack/rfcomm/port_api.c