interface: do not force link-ext hotplug interfaces to present by default
authorFelix Fietkau <nbd@nbd.name>
Fri, 20 Nov 2020 12:49:00 +0000 (13:49 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 20 Nov 2020 12:49:42 +0000 (13:49 +0100)
commit5e18d5b9ccb189efb914733e7b74073f5c75e0df
tree97fb861e0fc5bac5dcb409c93d6cd90dd57de006
parentc1c2728946b5bedb7a4757d9dd95744dc7d2f1ec
interface: do not force link-ext hotplug interfaces to present by default

On wireless interfaces, hostapd can sometimes defer the bringup of secondary
virtual interfaces until autochannel or coex scan completes.
Do not force the present state in that case in order to avoid attempting
to bring up the device before it is ready

Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface.c