Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle via buildroot <buildroot@buildroot.org>
To: Bryce Johnson <bryce@redpinelabs.com>, buildroot@buildroot.org
Cc: martin@barkynet.com
Subject: Re: [Buildroot] [PATCH] package/connman: Remove wpa_supplicant selection for wifi
Date: Thu, 18 Jul 2024 12:04:51 +0200	[thread overview]
Message-ID: <23725f14-d243-45da-b096-948c5e063aa7@mind.be> (raw)
In-Reply-To: <CADXxVSKBFjoub2ctkeSAzuuw2hbaMKwPw+xC=BG9z5+JJk7vSg@mail.gmail.com>



On 16/07/2024 23:14, Bryce Johnson wrote:
> Connman wifi works both with IWD and wpa_supplicant.  You don't want
> BR2_PACKAGE_WPA_SUPPLICANT selected when using IWD.

  But you still need one of them, right? We normally do that with a condition like:

	select BR2_PACKAGE_WPA_SUPPLICANT if !BR2_PACKAGE_IWD

(or the other way round, of course).

> 
> ---
>   package/connman/Config.in | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/package/connman/Config.in b/package/connman/Config.in
> index af3e1f69f6..44a3b41fb2 100644
> --- a/package/connman/Config.in
> +++ b/package/connman/Config.in
> @@ -45,8 +45,6 @@ config BR2_PACKAGE_CONNMAN_ETHERNET
> 
>   config BR2_PACKAGE_CONNMAN_WIFI
>          bool "enable WiFi support"
> -       select BR2_PACKAGE_WPA_SUPPLICANT # runtime
> -       select BR2_PACKAGE_WPA_SUPPLICANT_DBUS # runtime

  Actually, we would typically only enable it automatically in the .mk file, 
something like

ifneq ($(BR2_PACKAGE_IWD)$(BR2_PACKAGE_WPA_SUPPLICANT),)
CONNMAN_CONF_OPTS += --enable-wifi
else
CONNMAN_CONF_OPTS += --disable-wifi
endif

  But since we already have the explicit option, I guess we should keep it.

  Regards,
  Arnout

>          help
>            Enable WiFi support (scan and static/dhcp interface
>            setup). ConnMan detects the start of wpa_supplicant
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-07-18 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-16 21:14 [Buildroot] [PATCH] package/connman: Remove wpa_supplicant selection for wifi Bryce Johnson
2024-07-18 10:04 ` Arnout Vandecappelle via buildroot [this message]
2024-07-18 14:42   ` Bryce Johnson
2024-07-18 15:15     ` [Buildroot] [PATCH v2 1/1] " Bryce Johnson
2024-07-18 20:10       ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23725f14-d243-45da-b096-948c5e063aa7@mind.be \
    --to=buildroot@buildroot.org \
    --cc=arnout@mind.be \
    --cc=bryce@redpinelabs.com \
    --cc=martin@barkynet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox