diff mbox

[1/1] wpa_supplicant: add support for simple background scan

Message ID 1465661589-10963-1-git-send-email-martin@barkynet.com
State Accepted
Commit 0ae1d47f55e3ff3d1ba6d546838f8ee19705a1ff
Headers show

Commit Message

Martin Bark June 11, 2016, 4:13 p.m. UTC
CONFIG_BGSCAN_SIMPLE is missing from the defconfig included with
wpa_supplicant.  Many programs that depend on wpa_supplicant assume
bgscan is enabled, for example connman will try to set bgscan by default.
It is safe to always enable CONFIG_BGSCAN_SIMPLE since it is only used if
wpa_supplicant is configured to do so.

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/wpa_supplicant/wpa_supplicant.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Yann E. MORIN June 18, 2016, 12:59 p.m. UTC | #1
Martin, All,

On 2016-06-11 17:13 +0100, Martin Bark spake thusly:
> CONFIG_BGSCAN_SIMPLE is missing from the defconfig included with
> wpa_supplicant.  Many programs that depend on wpa_supplicant assume
> bgscan is enabled, for example connman will try to set bgscan by default.
> It is safe to always enable CONFIG_BGSCAN_SIMPLE since it is only used if
> wpa_supplicant is configured to do so.
> 
> Signed-off-by: Martin Bark <martin@barkynet.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/wpa_supplicant/wpa_supplicant.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
> index ba1180d..21bbd3e 100644
> --- a/package/wpa_supplicant/wpa_supplicant.mk
> +++ b/package/wpa_supplicant/wpa_supplicant.mk
> @@ -20,7 +20,8 @@ WPA_SUPPLICANT_INSTALL_STAGING = YES
>  
>  WPA_SUPPLICANT_CONFIG_EDITS =
>  
> -WPA_SUPPLICANT_CONFIG_SET =
> +# Add support for simple background scan
> +WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE
>  
>  WPA_SUPPLICANT_CONFIG_ENABLE = \
>  	CONFIG_IEEE80211AC	\
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard June 28, 2016, 8 p.m. UTC | #2
>>>>> "Martin" == Martin Bark <martin@barkynet.com> writes:

 > CONFIG_BGSCAN_SIMPLE is missing from the defconfig included with
 > wpa_supplicant.  Many programs that depend on wpa_supplicant assume
 > bgscan is enabled, for example connman will try to set bgscan by default.
 > It is safe to always enable CONFIG_BGSCAN_SIMPLE since it is only used if
 > wpa_supplicant is configured to do so.

 > Signed-off-by: Martin Bark <martin@barkynet.com>

Committed, thanks.
diff mbox

Patch

diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index ba1180d..21bbd3e 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -20,7 +20,8 @@  WPA_SUPPLICANT_INSTALL_STAGING = YES
 
 WPA_SUPPLICANT_CONFIG_EDITS =
 
-WPA_SUPPLICANT_CONFIG_SET =
+# Add support for simple background scan
+WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE
 
 WPA_SUPPLICANT_CONFIG_ENABLE = \
 	CONFIG_IEEE80211AC	\