eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit a27b7823df12c5d185b39aa7777c546843c1c96f
parent 14b92914901db1c53b18f88bcb73d7164588ee3a
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 20 Sep 2024 09:36:14 -0700

manager: fix UseDefaultInterface warning

This logic was incorrect here, we only want to print if the option
is used, not if its unset.

Diffstat:
Msrc/manager.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

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