commit | 4178023c4d627410777bdc259bfc7a31f2a4b8e9 | [log] [tgz] |
---|---|---|
author | Gary Morain <gmorain@chromium.org> | Tue Jul 31 15:08:31 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Wed Aug 15 17:45:17 2012 -0700 |
tree | 90a55e0cee937ae857e12ac90ac587029c189fee | |
parent | ff96a841975e53376769e45cfa14dfadde91d34a [diff] |
shill: Clean up of DeviceInfo::GetMACAddressFromKernel - Simplified GetMACAddressFromKernel by removing unnecessary code. - Use the Sockets class. - Add unit tests for GetMACAddressFromKernel. - Add comments and a unit test for a "gotcha" case in ByteString. - Add HANDLE_EINTR to Sockets. BUG=None TEST=All unit tests pass. Mobile, WiFi, and Ethernet work on alex. Change-Id: I3f55daf916edb62332b4c6a2aee224d53eefd2df Reviewed-on: https://gerrit.chromium.org/gerrit/28865 Commit-Ready: Gary Morain <gmorain@chromium.org> Reviewed-by: Gary Morain <gmorain@chromium.org> Tested-by: Gary Morain <gmorain@chromium.org>