libaltos: Try Bluetooth open 5 times on EBUSY
authorKeith Packard <keithp@keithp.com>
Sun, 21 Apr 2013 03:05:01 +0000 (22:05 -0500)
committerKeith Packard <keithp@keithp.com>
Sun, 21 Apr 2013 03:22:08 +0000 (22:22 -0500)
commit02a564bbc3a23b4f90685e8b29083ddb3e4b3563
tree10d84e9a3dfe088750753c182c0e294bc82f4598
parent6348186397dbef6da912586cea58d6663c511501
libaltos: Try Bluetooth open 5 times on EBUSY

After closing Bluetooth, it can take a second before the device is up
for another connection. Hang around retrying a few times.

Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos.c