mozilla-b2g/gaia — pull request #6047 by evelynhung (2012-10-29 07:44:40+00:00)
Title: Bug 802941, Bug 797713, Bug 801557

1. if bluetooth is initially enabled, get defaultAdapter directly
2. wait one second for getting name when defaultAdapter just initialized.
3. wait five seconds to connect when headset just paired.