dundee: explicit shutdown the bluetooth file descriptor
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 14 Aug 2012 07:14:32 +0000 (04:14 -0300)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 17 Aug 2012 12:59:50 +0000 (14:59 +0200)
commit371b886babde22618e584db73319a7420f60ee88
tree077cf2d967d6ede94e90e9eb2c66ceaa7e1e11a9
parent8181ee6b954e733c1947a456d57de6cf03d5db13
dundee: explicit shutdown the bluetooth file descriptor

If we do not shut it down the fd can remain opened. This make impossible
to try a re-connect: busy is returned in this case.

We call shutdown here to make sure that the link is always closed.
dundee/bluetooth.c