ethernet: add early return for server mode interfaces

Server mode interfaces can be handled earlier in addInterface, which
avoids a bunch of objects from being created and makes the code more
readable by removing the large if / else block.

Test: atest EthernetManagerTest
Change-Id: I23e68d3532e69f5486f4d4b0edb6eaac8145ed23
1 file changed