wired: check carrier immediately after bringing device up
Virtual devices that we might create when their slave is started (like bonds) have a virtual carrier that often isn't set on when until the device is brought up. The device is brought up during creation, but the initial carrier check happens before the device is up, so the initial carrier state from the constructor isn't quite accurate in some cases. Since we want to use virtual interfaces that we create right after we create them, we want them to be available too, and that usually requires the carrier to be on. So recheck the carrier right after bringing the interface up, so that the carrier state is accurate immediately after the device is created.
Showing with 32 additions and 17 deletions