[LEDE-DEV] [PATCH] procd: get rid of putenv usage.

2018-01-22 Thread Rosen Penev
setenv is prefered according to POSIX. Also allows staticly allocated strings. Saves 200 bytes when stripped. 400 without. Signed-off-by: Rosen Penev --- service/instance.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/instance.c

[LEDE-DEV] [PATCH/RFC] hostapd: update to git snapshot of 2017-12-21

2018-01-22 Thread Daniel Golle
The following patches were merged upstream: 000-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch replaced by commit 0e3bd7ac6 001-Prevent-reinstallation-of-an-already-in-use-group-ke.patch replaced by commit cb5132bb3 002-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch replaced

Re: [LEDE-DEV] [PATCH-v2 3/3] ath10k-firmware: Support CT IPQ4019 firmware.

2018-01-22 Thread Christian Lamparter
On Sunday, January 21, 2018 10:49:19 PM CET Ben Greear wrote: > > On 01/21/2018 07:54 AM, Christian Lamparter wrote: > > On Saturday, January 20, 2018 1:27:04 AM CET gree...@candelatech.com wrote: > >> From: Ben Greear > >> > >> Initial beta release of the CT IPQ4019

[LEDE-DEV] [PATCH 2/2 procd] trace: check asprintf() return value

2018-01-22 Thread Hans Dedecker
Check asprintf() return value; fixes ignoring return value warnings: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Hans Dedecker --- trace/trace.c | 15 ++- 1 file changed, 10

[LEDE-DEV] [PATCH 1/2 procd] trace: add missing limits.h include

2018-01-22 Thread Hans Dedecker
Fixes compile issue when using glibc as INT_MAX is reported as undeclared. Signed-off-by: Hans Dedecker --- trace/trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trace/trace.c b/trace/trace.c index b156e2a..1c1e757 100644 --- a/trace/trace.c +++ b/trace/trace.c

Re: [LEDE-DEV] [PATCH] [RFC] build: log time taken by each packages/steps

2018-01-22 Thread Etienne Champetier
Hi John, agreed, I was pretty sure there was/is a better way ;) i'll not have any time until next week, so if you or anyone want to implement it please do Regards Etienne 2018-01-22 9:23 GMT+01:00 John Crispin : > > > On 21/01/18 00:01, Etienne Champetier wrote: >> >> The idea

[LEDE-DEV] [PATCH] openssl: remove cause of buildbot failures

2018-01-22 Thread Val Kulkov
Compiling openssl generates a number of error messages as make executes openssl on host, producing errors: "wrong ELF class: ELFCLASS32". These errors trigger buildbot failures as described in issue 5432 [1] at openwrt/packages Github repo. This patch fixes issue 5432 by removing demo

Re: [LEDE-DEV] Board specific Kconfig?

2018-01-22 Thread Jonas Gorski
Hi, On 22 January 2018 at 07:16, perillamint wrote: > Hello, > > I'm currently porting LEDE(wait, OpenWRT now?) on Intel Galileo. > > Since not every Intel Quark board has GPIO multiplexer chips like > Galileo, I think I have to separate board specific components into >

Re: [LEDE-DEV] [PATCH] config: add option to select kernel compile optimization type

2018-01-22 Thread Jonas Gorski
On 22 January 2018 at 10:20, Koen Vandeputte wrote: > > > On 2018-01-21 13:37, Jonas Gorski wrote: >> >> Hi, >> >> On 18 January 2018 at 10:50, Koen Vandeputte >> wrote: >>> >>> A lot of targets have more than sufficient space to allow

Re: [LEDE-DEV] [PATCH v2] imx6: fix pcie scanning on boot

2018-01-22 Thread Koen Vandeputte
3rd time's the charm :)  .. without html .. > Hi Koen, Thanks for this info! Have you asked the linux-pci group about this? I'm curious what the patch to 4.9.71 was trying to do and if this is the proper place to fix this. I assume if we set that value in the

Re: [LEDE-DEV] [PATCH] config: add option to select kernel compile optimization type

2018-01-22 Thread Koen Vandeputte
On 2018-01-21 13:37, Jonas Gorski wrote: Hi, On 18 January 2018 at 10:50, Koen Vandeputte wrote: A lot of targets have more than sufficient space to allow building the kernel for speed iso size. Export this performance option to the main config: - Making it

Re: [LEDE-DEV] [PATCH] config: add option to select kernel compile optimization type

2018-01-22 Thread Koen Vandeputte
On 2018-01-21 13:46, Arjen de Korte wrote: Citeren Jonas Gorski : Hi, On 18 January 2018 at 10:50, Koen Vandeputte wrote: A lot of targets have more than sufficient space to allow building the kernel for speed iso size. Export this

Re: [LEDE-DEV] [PATCH] [RFC] build: log time taken by each packages/steps

2018-01-22 Thread John Crispin
On 21/01/18 00:01, Etienne Champetier wrote: The idea is to easily get the list of packages taking the most time to build, and see if we can improve them Sending as RFC as this is a quick hack that might break in some case (different implementation of time) Signed-off-by: Etienne Champetier

Re: [LEDE-DEV] [PATCH iwinfo] nl80211: Do not block when driver aborts scan

2018-01-22 Thread John Crispin
On 09/01/18 15:16, osiverts...@gmail.com wrote: From: Olof Sivertsson Drivers may abort a scan by calling cfg80211_scan_done() with a struct cfg80211_scan_info that sets aborted to true. To avoid blocking forever consider both NL80211_CMD_NEW_SCAN_RESULTS and