bluetooth: ofono: Close fd if cannot be accepted
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 4 May 2017 11:11:27 +0000 (13:11 +0200)
committerGeorg Chini <georg@chini.tk>
Thu, 4 May 2017 11:12:08 +0000 (13:12 +0200)
commit826bb358cc818e5687c266becf68d72fb56d08c9
tree8b7cd67046173dc3ba1c9dcb7456e36777a7525a
parent69c212f8c13794f70899d1fe6baec1b6e3c92032
bluetooth: ofono: Close fd if cannot be accepted

Always close fd that cannot be accepted otherwise it will be left open
without being attached to any transport.
src/modules/bluetooth/backend-ofono.c