commit | 3fe1766c77357174c25bd5338c79277c39675cee | [log] [tgz] |
---|---|---|
author | Darin Petkov <petkov@chromium.org> | Mon Feb 04 14:19:08 2013 +0100 |
committer | ChromeBot <chrome-bot@google.com> | Tue Feb 05 01:42:49 2013 -0800 |
tree | caf98cc09e4bba0877a7fb66fbde6fca6832873c | |
parent | d73783fb016a4c9d7d8644db83c8caeb447b0063 [diff] |
shill: Unbind DHCPConfig from it's PID when dhcpcd is killed. This allows the destruction of the DHCPConfig instance. The patch also refactors and cleans up a bit resetting of client state in DHCPConfig. BUG=chromium-os:37652 TEST=unit tests; tested on device by connecting to different APs, then 'stop shill' and inspecting logs for any stale DHCPConfig object destructions; checked connectivity. Change-Id: I991011191b553daa970b9225b85696f20add9dea Reviewed-on: https://gerrit.chromium.org/gerrit/42532 Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Darin Petkov <petkov@chromium.org>