diff mbox series

[2/2] manager: deprecate UseDefaultInterface

Message ID 20240827141810.750603-2-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/2] doc: deprecate UseDefaultInterface in docs | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-ci-gitlint success GitLint

Commit Message

James Prestwood Aug. 27, 2024, 2:18 p.m. UTC
---
 src/manager.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/manager.c b/src/manager.c
index f1aa59c7..5bedfcc5 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -894,8 +894,11 @@  static int manager_init(void)
 	}
 
 	if (!l_settings_get_bool(config, "General",
-				"UseDefaultInterface", &use_default))
+				"UseDefaultInterface", &use_default)) {
+		l_warn("[General].UseDefaultInterface is deprecated, please "
+			"use [DriverQuirks].DefaultInterface instead");
 		use_default = false;
+	}
 
 	return 0;