commit | 7f64548921f4c6d4954f293c6da73cec10c3632e | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jul 10 19:13:23 2017 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Jul 14 23:42:23 2017 +0900 |
tree | 43f6f7b6286f767f6b6f550f01212dcc995c4c8d | |
parent | ea1671180e90eaddae0bc9cf41356f9131939d0c [diff] |
Always return a meaningful error from setIpv6AddrGenMode. SetProperty does not always set errno to a meaningful value. This is confusing, particularly in the case where the errno happens to be set to EOPNOTSUPP: in that case IpManager will interpret the error as being "kernel does not support stable privacy addresses" and continue, instead of failing as it should. Bug: 17613910 Test: bullhead builds, boots, connects to wifi Change-Id: I058f5fe2dd1085036d669d89a4cac0b3b0c0949c