commit | 94f38cc26badc0b688903abf312f8efdc921b794 | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Fri Feb 21 15:06:09 2014 -0800 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Sat Feb 22 03:10:23 2014 +0000 |
tree | 62fce5e9774f47b817903bc506b547313b8b7642 | |
parent | 314581f0d73d7240325598b2a0ab517210c7f337 [diff] |
shill: reload_wifi: New PCI device helper script This script is UDEV helper function that can help restart a PCI based wireless LAN device. It does so by removing the PCI device from the bus, using the EC to cycle power on the device, then performing a bus re-enumeration of the parent bus of the device. BUG=chrome-os-partner:25275 TEST=Manual: Force restart by modifying the driver to output an event, and ensure the device disappears and reappears as a new phy. Change-Id: Ife0b05f8f545623d15d828610f180bb79669f926 Reviewed-on: https://chromium-review.googlesource.com/187474 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>