commit | 516764fbb2b8958cb05da880059201fdef712ed5 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jul 10 19:13:23 2017 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Jul 10 19:16:19 2017 +0900 |
tree | db61c582c6a96ff7a4e902d3b3280faadd9b9d2c | |
parent | 09bf6eb18ffcb58849f6c81fe130ae2d0251a388 [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