[OpenWrt-Devel] [netifd] ifup script does not use new network config

2014-06-09 Thread 陈维扬
Greeting, I found /sbin/ifup does not take new network config, through it does reload before bringing interface up. ifup orders netifd reload config via ubus call. But netifd uses an async event loop to do reloading work: void netifd_reload(void) { main_timer.cb = netifd_do_reload;

[OpenWrt-Devel] [project/ucwmp.git][PATCH] build: install cwmpd and connreq

2014-06-09 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ec95ff..7369df6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ TARGET_LINK_LIBRARIES(cwmp-session uci

Re: [OpenWrt-Devel] Patch: usb-modeswitch-data update url/version

2014-06-09 Thread Ronaldo Afonso
Hi Mark, Don't you have to update the package too? Not only the data files. Please, check this out: http://www.draisberghof.de/usb_modeswitch/#download 2014-06-06 13:03 GMT-03:00 Mark Janssen maniac...@gmail.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello,

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-09 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [09.06.2014 21:23]: [...] For this trigger we can add a time delay, which will aggregate events. Once that is implemented correctly, 400 ifup events in rapid succession will lead to only one series of init script calls instead of 400. With that approach, such

[OpenWrt-Devel] LAN force_link causes WDS Client routers to be no-longer administerable

2014-06-09 Thread Chirag Chhatriwala
Hello Felix and other devs, I recently went from r39555 (BB) to r41055 (also BB) without sysupgrade, direct update of firmware. I've got a couple of WD N750 Routers that I like to run in WDS mode. After flashing 41055 and then configuring, WDS on the routers, I was left completely locked out of

Re: [OpenWrt-Devel] LAN force_link causes WDS Client routers to be no-longer administerable

2014-06-09 Thread Felix Fietkau
On 2014-06-09 21:37, Chirag Chhatriwala wrote: Hello Felix and other devs, I recently went from r39555 (BB) to r41055 (also BB) without sysupgrade, direct update of firmware. I've got a couple of WD N750 Routers that I like to run in WDS mode. After flashing 41055 and then configuring, WDS

[OpenWrt-Devel] [PATCH 00/17] atheros: checkpatch fixes

2014-06-09 Thread Sergey Ryazanov
This series is an attempt to cleanup checkpatch generated warnings and errors to make AR231x patches suitable for upstream merge. Sergey Ryazanov (17): atheros: avoid CamelCase atheros: various comments fixes atheros: parenthesis around complex macroses value atheros: remove parentheses

[OpenWrt-Devel] [PATCH 04/17] atheros: remove parentheses around return values

2014-06-09 Thread Sergey Ryazanov
Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 2 +- target/linux/atheros/patches-3.10/105-ar2315_pci.patch | 2 +-

[OpenWrt-Devel] [PATCH 06/17] atheros: remove trailing whitespace

2014-06-09 Thread Sergey Ryazanov
as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/atheros/patches-3.10/141-redboot_partition_scan.patch

[OpenWrt-Devel] [PATCH 08/17] atheros: various braces fixes

2014-06-09 Thread Sergey Ryazanov
Fix braces location, remove unnecessary empty lines before or after code block, remove useless braces. All cases are detected by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 26 +++---

[OpenWrt-Devel] [PATCH 09/17] atheros: various printk(...) fixes

2014-06-09 Thread Sergey Ryazanov
Use more particular functions dev_level or pr_level(...) insead of direct printk(...) call. Add KERN_LEVEL to calls what missed it. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 38 +++---

[OpenWrt-Devel] [PATCH 13/17] atheros: trailing statements fixes

2014-06-09 Thread Sergey Ryazanov
Move trailing statements to next line with indentation as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 5 +++-- target/linux/atheros/patches-3.10/101-early-printk-support.patch | 8 +---

[OpenWrt-Devel] [PATCH 07/17] atheros: do not initialize statics to 0 or false

2014-06-09 Thread Sergey Ryazanov
as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 2 +- target/linux/atheros/patches-3.10/130-watchdog.patch | 4 ++--

[OpenWrt-Devel] [PATCH 11/17] atheros: indent fixes

2014-06-09 Thread Sergey Ryazanov
Various indent fixes suggested by checkpatch: use tabs, use same level of indentation for switch and case, correct indentation levels. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 213 +++--

[OpenWrt-Devel] [PATCH 05/17] atheros: do not assignment in if condition

2014-06-09 Thread Sergey Ryazanov
Remove assignments from if conditions as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 9 + target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | 5 +++--

[OpenWrt-Devel] [PATCH 10/17] atheros: fix includes

2014-06-09 Thread Sergey Ryazanov
Remove some unnecessary includes and use linux/foo.h instead of asm/foo.h when it possible as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 6 +++---

[OpenWrt-Devel] [PATCH 17/17] atheros: fix too short msleep

2014-06-09 Thread Sergey Ryazanov
Use msleep(20) instead of msleep(10) to make code closer to reality since msleep can sleep for up to 20ms even we request shorter delay. All updated calls are located in PCI initialization routine which is called only once upon device boot. So there should be no performance issues caused by more

[OpenWrt-Devel] [PATCH 15/17] atheros: constify some static structures

2014-06-09 Thread Sergey Ryazanov
Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch| 2 +- target/linux/atheros/patches-3.10/120-spiflash.patch | 6 -- target/linux/atheros/patches-3.10/130-watchdog.patch

[OpenWrt-Devel] [PATCH 14/17] atheros: avoid __FUNCTION__ usage

2014-06-09 Thread Sergey Ryazanov
Use __func__ instead of gcc specific __FUNCTION__ as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[OpenWrt-Devel] [PATCH 16/17] atheros: shorten lines

2014-06-09 Thread Sergey Ryazanov
Wrap lines over 80 chars or make them shorter by other ways. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 378 - .../atheros/patches-3.10/105-ar2315_pci.patch | 39 ++-

[OpenWrt-Devel] [PATCH 12/17] atheros: spaces fixes

2014-06-09 Thread Sergey Ryazanov
Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com --- target/linux/atheros/patches-3.10/100-board.patch | 38 +++--- .../atheros/patches-3.10/105-ar2315_pci.patch | 17 +-

Re: [OpenWrt-Devel] LAN force_link causes WDS Client routers to be no-longer administerable

2014-06-09 Thread Chirag Chhatriwala
On Mon, Jun 9, 2014 at 3:55 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-06-09 21:37, Chirag Chhatriwala wrote: Hello Felix and other devs, I recently went from r39555 (BB) to r41055 (also BB) without sysupgrade, direct update of firmware. I've got a couple of WD N750 Routers that I