commit 72158e66da575a8e2db8d1a32680937b1579a5af
parent 65109ec46d80fd690e3ddfbafd6e31e267395547
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 11 Apr 2019 12:03:52 -0500
main: Move manager initialization
The order of wiphy / netdev dumps matters. So to preserve the old
behavior, move manager initialization up.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -151,6 +151,8 @@ static void nl80211_appeared(void *user_data)
l_debug("Found nl80211 interface");
+ manager_init(nl80211);
+
if (!wiphy_init(nl80211, phys, nophys))
l_error("Unable to init wiphy functionality");
@@ -161,7 +163,6 @@ static void nl80211_appeared(void *user_data)
ap_init(nl80211);
adhoc_init(nl80211);
- manager_init(nl80211);
}
static void nl80211_vanished(void *user_data)