commit | d337299e66df710657711b3eef437e1cdebc41f5 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Tue Sep 13 10:39:55 2022 -0700 |
committer | Patrick Rohr <prohr@google.com> | Wed Sep 21 12:03:15 2022 -0700 |
tree | 31063aeb3248675cd45fd2081e4b10b5064afdd2 | |
parent | faebf303a605f8ef6aab34e078e5d60516e51076 [diff] |
ethernet: fix enable/disableInterface result Calling enableInterface() / disableInterface() for an interface already in the correct state used to return an error which is incorrect according to the API specification in EthernetManager. onError() is now only returned for untracked and server mode interfaces. This change also fixes the updateInterfaceState() function signature. Test: atest EthernetManagerTest Change-Id: Ie7ee84c3756a8a0c489a38548214fd524352c8da