Allow to set IF_OPER_UP in kernel
Allow supplicant to set IF_OPER_UP
again when kernel indicates operstate
is LOWER_UP and !DORMANT.
Bug: 216575141
Test: Manual -Wifi turn on/off/connect/disconnect multiple times.
Change-Id: Iebbbbf073f7dcc1db934229a90667370323dab8e
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 5d4f71e..6e3f614 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1286,7 +1286,6 @@
} else if (ifi->ifi_flags & IFF_UP) {
/* Re-read MAC address as it may have changed */
nl80211_refresh_mac(drv, ifi->ifi_index, 1);
- return;
}
/*