mozilla-b2g/gaia — pull request #10530 by eric30 (2013-06-21 09:40:42+00:00)
Title: Bug 872976 - Delay the timing of restoring connection to decrease the failure rate

To make restore connection feature more stable, I made two changes:

1. Stop discovering before connect. I've done the same thing before, see bug 873352 for more information.
2. Delay 5 seconds for restoring connection.