commit | 050cfc068fda2bd77df2ba08f7b2897bf0e0a6e0 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Fri Jul 06 20:38:54 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Tue Jul 10 08:58:18 2012 -0700 |
tree | 3ee2e6e3d89c01170041d16612cc0cf9eae0b811 | |
parent | 72b2fdcc91322e160ac9ffc147deae2ce8e5ab5b [diff] |
shill: device_info: Postpone cdc_ether device discovery We test cdc_ether devices at boot to decide whether they are cellular or plain-Ethernet devices. The method used to do so is to figure out if there is a tty device bound to the same USB host as the cdc_ethernet devices. With some systems, however, the tty devices are discovered some time after the cdc_ether device. To acommodate this, postpone calling CreateDevice on such entries to allow time for device discovery in the kernel to complete. BUG=chromium-os:31504 TEST=Unit tests; test on physical device. Change-Id: Ic0e18db6463519f87dde199ee7b804b2010992c6 Reviewed-on: https://gerrit.chromium.org/gerrit/26866 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>