openwrt.git
9 years agobuild: introduce per feed repository support
jow [Tue, 5 Aug 2014 11:24:24 +0000 (11:24 +0000)]
build: introduce per feed repository support

This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: minor fixes (thanks Hans Dedecker)
cyrus [Tue, 5 Aug 2014 10:03:10 +0000 (10:03 +0000)]
netifd: minor fixes (thanks Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42000 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogre: Change hostdependcy to remote endpoint tunnel address
cyrus [Tue, 5 Aug 2014 09:57:55 +0000 (09:57 +0000)]
gre: Change hostdependcy to remote endpoint tunnel address

Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41998 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: switch kernel version to 3.14
nbd [Mon, 4 Aug 2014 20:54:57 +0000 (20:54 +0000)]
atheros: switch kernel version to 3.14

After several tests, 3.14 kernel seems run fine.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41997 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: add 3.14 configuration
nbd [Mon, 4 Aug 2014 20:54:53 +0000 (20:54 +0000)]
atheros: add 3.14 configuration

Created on basis of 3.10 config. Remove few obsolete symbols and add new
upstream symbols. New symbols left in its default state.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41996 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: copy 3.10 patches to 3.14 and refresh them
nbd [Mon, 4 Aug 2014 20:54:49 +0000 (20:54 +0000)]
atheros: copy 3.10 patches to 3.14 and refresh them

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41995 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: refresh config-3.10
nbd [Mon, 4 Aug 2014 20:54:39 +0000 (20:54 +0000)]
atheros: refresh config-3.10

Refresh 3.10 kernel configuration, particulary correct AR2315_WDT symbol
position.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41994 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: update Carambola2 platform data
nbd [Mon, 4 Aug 2014 14:46:52 +0000 (14:46 +0000)]
ar71xx: update Carambola2 platform data

Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41993 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location
nbd [Mon, 4 Aug 2014 06:15:14 +0000 (06:15 +0000)]
kernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location

Fix IFF_NO_IP_ALIGN location which is collide with new netdev private flag
IFF_MACVLAN.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41992 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add profile for easyacc wizard8800
blogic [Sun, 3 Aug 2014 14:31:18 +0000 (14:31 +0000)]
ramips: add profile for easyacc wizard8800

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41986 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw...
blogic [Sun, 3 Aug 2014 11:13:58 +0000 (11:13 +0000)]
firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41962 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips:support Lenovo AC1200 Wireless router
blogic [Sun, 3 Aug 2014 11:13:52 +0000 (11:13 +0000)]
ramips:support Lenovo AC1200 Wireless router

Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41961 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: revert bogus version that was added in r41872
nbd [Sun, 3 Aug 2014 10:53:40 +0000 (10:53 +0000)]
hostapd: revert bogus version that was added in r41872

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41960 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorobocfg: add missing include
nbd [Sun, 3 Aug 2014 10:45:39 +0000 (10:45 +0000)]
robocfg: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41959 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiputils: add missing includes, fix musl support
nbd [Sun, 3 Aug 2014 10:45:36 +0000 (10:45 +0000)]
iputils: add missing includes, fix musl support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41958 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoigmpproxy: add missing include
nbd [Sun, 3 Aug 2014 10:45:31 +0000 (10:45 +0000)]
igmpproxy: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41957 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwcap: add missing include
nbd [Sun, 3 Aug 2014 10:45:28 +0000 (10:45 +0000)]
iwcap: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41956 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: add missing include statement
nbd [Sun, 3 Aug 2014 10:45:23 +0000 (10:45 +0000)]
iwinfo: add missing include statement

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41955 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain/musl: update to version 1.1.4
nbd [Sat, 2 Aug 2014 20:27:52 +0000 (20:27 +0000)]
toolchain/musl: update to version 1.1.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41954 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: refresh patch
nbd [Sat, 2 Aug 2014 19:51:58 +0000 (19:51 +0000)]
mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41953 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
nbd [Sat, 2 Aug 2014 19:51:54 +0000 (19:51 +0000)]
ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41952 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: when using --gc-sections, add --sort-section=name to get a more stable sortin...
nbd [Sat, 2 Aug 2014 18:50:55 +0000 (18:50 +0000)]
kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41951 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a small xfrm related performance optimization
nbd [Sat, 2 Aug 2014 18:50:50 +0000 (18:50 +0000)]
kernel: add a small xfrm related performance optimization

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41950 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: - bump target to 3.14.14
wigyori [Sat, 2 Aug 2014 11:29:11 +0000 (11:29 +0000)]
mxs:  - bump target to 3.14.14
 - update dcp module

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41949 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: add 3.14 config and patches
wigyori [Sat, 2 Aug 2014 11:20:01 +0000 (11:20 +0000)]
mxs: add 3.14 config and patches

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41948 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: remote 3.12 patches and configs
wigyori [Sat, 2 Aug 2014 11:18:00 +0000 (11:18 +0000)]
mxs: remote 3.12 patches and configs

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41947 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-mxs: bump u-boot to 2014.07
wigyori [Sat, 2 Aug 2014 11:17:17 +0000 (11:17 +0000)]
uboot-mxs: bump u-boot to 2014.07

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41946 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetfilter: introduce xt_id match
jow [Fri, 1 Aug 2014 22:49:47 +0000 (22:49 +0000)]
netfilter: introduce xt_id match

This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41945 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add preliminary support for D-Link DSL-2751B E1
jogo [Fri, 1 Aug 2014 21:56:46 +0000 (21:56 +0000)]
brcm63xx: add preliminary support for D-Link DSL-2751B E1

Mostly works except for USB led. Flashing not tested yet. Mostly
as an example for the sprom fixup code.

Fixup values taken from GPL tarball by comparing bcm43217_map.c
with the struct in sprom.c.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41944 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: b43: include ucode30 by default
jogo [Fri, 1 Aug 2014 21:56:43 +0000 (21:56 +0000)]
mac80211: b43: include ucode30 by default

Fixes

b43-phy0 ERROR: Firmware file "b43-open/ucode30_mimo.fw" not found

for BCM43217 devices.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41943 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: rework fallback sprom support
jogo [Fri, 1 Aug 2014 21:56:38 +0000 (21:56 +0000)]
brcm63xx: rework fallback sprom support

Rework fallback sprom support by providing different sproms for
different chips. Also make it optional to use.

This likely causes sprom fallback support to break on a few boards.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41942 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: switch to 3.14
jogo [Fri, 1 Aug 2014 21:56:35 +0000 (21:56 +0000)]
brcm63xx: switch to 3.14

Now that BB is branched off, we can now switch to 3.14 and start
breaking stuff again.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41941 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add working lzma-loader and use it for initramfs
jogo [Fri, 1 Aug 2014 21:56:31 +0000 (21:56 +0000)]
brcm63xx: add working lzma-loader and use it for initramfs

Add a working lzma loader and use it for generating initramfs kernels
to allow easily netbooting elf kernels on devices with a 4 MiB CFE
size limit.

Based on ar71xx's lzma-loader.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41940 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Add support for VoCore
blogic [Fri, 1 Aug 2014 20:51:24 +0000 (20:51 +0000)]
ramips: Add support for VoCore

This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41939 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Add support for SPI_CS1 pinmux
blogic [Fri, 1 Aug 2014 20:51:14 +0000 (20:51 +0000)]
ramips: Add support for SPI_CS1 pinmux

This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41938 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for easyacc wizard8800
blogic [Fri, 1 Aug 2014 11:19:50 +0000 (11:19 +0000)]
ramips: add support for easyacc wizard8800

Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41936 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage:grub2: fix build error on linux missing libzfs
blogic [Fri, 1 Aug 2014 11:19:46 +0000 (11:19 +0000)]
package:grub2: fix build error on linux missing libzfs

configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41935 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agovalgrind: add x86_64 support
blogic [Fri, 1 Aug 2014 11:19:42 +0000 (11:19 +0000)]
valgrind: add x86_64 support

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41934 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Fix LEDs on the Kingston MLW221
blogic [Fri, 1 Aug 2014 11:19:39 +0000 (11:19 +0000)]
ramips: Fix LEDs on the Kingston MLW221

LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41933 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: oolite: the buttons are not active_low
blogic [Fri, 1 Aug 2014 11:19:34 +0000 (11:19 +0000)]
ar71xx: oolite: the buttons are not active_low

this caused factory resets when reboot was pressed

Signed-off-by: Brent Thomson <brentthomson@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41932 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add RTC feature flag to ar71xx/nand
blogic [Fri, 1 Aug 2014 10:32:55 +0000 (10:32 +0000)]
ar71xx: add RTC feature flag to ar71xx/nand

without this the build for NBG6716 fails due to missing packages

https://dev.openwrt.org/ticket/17325

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41930 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agougps: add a minimal gps daemon
blogic [Fri, 1 Aug 2014 09:37:49 +0000 (09:37 +0000)]
ugps: add a minimal gps daemon

* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41929 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns3xxx: add myself as maintainer
nbd [Fri, 1 Aug 2014 09:23:50 +0000 (09:23 +0000)]
cns3xxx: add myself as maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41928 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns3xxx: fix building initramfs and non-initramfs together
nbd [Fri, 1 Aug 2014 07:10:00 +0000 (07:10 +0000)]
cns3xxx: fix building initramfs and non-initramfs together

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41922 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns3xxx: update to linux 3.10
nbd [Thu, 31 Jul 2014 23:40:49 +0000 (23:40 +0000)]
cns3xxx: update to linux 3.10

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41917 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoorion: fix 3.10 kernel minor version
nbd [Thu, 31 Jul 2014 23:40:44 +0000 (23:40 +0000)]
orion: fix 3.10 kernel minor version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41916 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns3xxx: fix initramfs build
nbd [Thu, 31 Jul 2014 23:40:40 +0000 (23:40 +0000)]
cns3xxx: fix initramfs build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41915 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage: only call Image/BuildKernel/Initramfs if initramfs is actually enabled
nbd [Thu, 31 Jul 2014 23:40:37 +0000 (23:40 +0000)]
image: only call Image/BuildKernel/Initramfs if initramfs is actually enabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41914 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: update to kernel 3.14
hauke [Thu, 31 Jul 2014 21:44:41 +0000 (21:44 +0000)]
bcm53xx: update to kernel 3.14

Use kernel 3.14 by default and refresh the patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41913 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: add restart support
hauke [Thu, 31 Jul 2014 21:43:40 +0000 (21:43 +0000)]
bcm53xx: add restart support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41912 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: 3.14: update MIPS patches with versions sent upstream
hauke [Thu, 31 Jul 2014 21:42:59 +0000 (21:42 +0000)]
brcm47xx: 3.14: update MIPS patches with versions sent upstream

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41911 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: 3.10: update MIPS patches with versions sent upstream
hauke [Thu, 31 Jul 2014 21:40:38 +0000 (21:40 +0000)]
brcm47xx: 3.10: update MIPS patches with versions sent upstream

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41910 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: refresh patches
hauke [Thu, 31 Jul 2014 21:33:58 +0000 (21:33 +0000)]
kernel: refresh patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41909 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: b43: update b43 to version master-2014-07-29-1
hauke [Wed, 30 Jul 2014 21:15:42 +0000 (21:15 +0000)]
mac80211: b43: update b43 to version master-2014-07-29-1

This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41900 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update bcma to version master-2014-07-29-1
hauke [Wed, 30 Jul 2014 18:54:10 +0000 (18:54 +0000)]
kernel: update bcma to version master-2014-07-29-1

This is a backport of bcma from wireless-tesing/master tag master-2014-07-29-1.

For kernel < 3.10 this only adds the header changes needed by more
recent b43 versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41899 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.14 to 3.14.14
luka [Wed, 30 Jul 2014 15:44:44 +0000 (15:44 +0000)]
kernel: update 3.14 to 3.14.14

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41898 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogre: Generic Routing Encapsulation package support
cyrus [Wed, 30 Jul 2014 13:22:24 +0000 (13:22 +0000)]
gre: Generic Routing Encapsulation package support

The package supports Generic Routing Encapsulation support by registering following protocol kinds:
    -gre
    -gretap
    -grev6
    -grev6tap

Following options are valid for gre and gretap kinds:
    -ipaddr
    -peeraddr
    -df
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The gretap kind supports additionally the network option

Following options are valid for grev6 and grev6tap kinds:
    -ip6addr
    -peer6addr
    -weakif
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The grev6tap kind supports additionally the network option

Typical network config for a GREv4 tunnel :

config interface 'gre'
        option peeraddr '172.16.18.240'
        option mtu '1400'
        option proto 'gre'
        option tunlink 'wan'
        option zone 'tunnel'

Typical network config for a GREv4 tap tunnel :

config interface 'gretap'
        option peeraddr '195.207.5.79'
        option mtu '1400'
        option proto 'gretap'
        option zone 'tunnel'
        option tunlink 'wan'
        option network 'wlan_ap'

I added myself as maintainer for the moment; feel free to change.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41897 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: fixes and GRE support (thx Hans Dedecker)
cyrus [Wed, 30 Jul 2014 13:21:52 +0000 (13:21 +0000)]
netifd: fixes and GRE support (thx Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41896 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: Fix white space typo in dhcpv6.script
cyrus [Wed, 30 Jul 2014 13:18:01 +0000 (13:18 +0000)]
odhcp6c: Fix white space typo in dhcpv6.script

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41893 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: suppress fw3 warnings in dhcp script
cyrus [Wed, 30 Jul 2014 13:17:56 +0000 (13:17 +0000)]
netifd: suppress fw3 warnings in dhcp script

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41892 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, fixes parsing of /etc/openwrt_release
nbd [Wed, 30 Jul 2014 12:39:46 +0000 (12:39 +0000)]
procd: update to the latest version, fixes parsing of /etc/openwrt_release

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41891 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: more race condition fixes in proto-shell
cyrus [Tue, 29 Jul 2014 17:24:23 +0000 (17:24 +0000)]
netifd: more race condition fixes in proto-shell

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41887 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: properly escape strings for version info
nbd [Tue, 29 Jul 2014 13:30:23 +0000 (13:30 +0000)]
base-files: properly escape strings for version info

Make sure they don't break the sed command, and also make device_info
and openwrt_release more robust for parsing by scripts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41885 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: add extra version configuration options for OEM manufacturer info
nbd [Tue, 29 Jul 2014 13:30:12 +0000 (13:30 +0000)]
base-files: add extra version configuration options for OEM manufacturer info

Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41884 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoppp: fix a buffer overrun in the ms chap code
blogic [Tue, 29 Jul 2014 12:18:52 +0000 (12:18 +0000)]
ppp: fix a buffer overrun in the ms chap code

https://dev.openwrt.org/ticket/17296

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41882 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofeeds: disable oldpackages by default
cyrus [Tue, 29 Jul 2014 10:24:12 +0000 (10:24 +0000)]
feeds: disable oldpackages by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41875 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: remove linux 3.8 support
nbd [Tue, 29 Jul 2014 10:23:59 +0000 (10:23 +0000)]
atheros: remove linux 3.8 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41874 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: support wildcard paths when matching phys
jow [Tue, 29 Jul 2014 09:48:07 +0000 (09:48 +0000)]
mac80211: support wildcard paths when matching phys

This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41873 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: Reintroduce Full Dynamic VLAN support
jow [Tue, 29 Jul 2014 09:48:02 +0000 (09:48 +0000)]
hostapd: Reintroduce Full Dynamic VLAN support

This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment.

Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net>
[jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41872 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude/toplevel.mk: more chaos calmer renaming
blogic [Tue, 29 Jul 2014 09:10:02 +0000 (09:10 +0000)]
include/toplevel.mk: more chaos calmer renaming

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41871 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBB is branched, get ready for Chaos Calmer
kaloz [Tue, 29 Jul 2014 08:24:57 +0000 (08:24 +0000)]
BB is branched, get ready for Chaos Calmer

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41870 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: work around some docker architecture quirks
cyrus [Tue, 29 Jul 2014 06:51:35 +0000 (06:51 +0000)]
procd: work around some docker architecture quirks

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41867 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: check output of "uci show" instead of raw config files in order to track uncom...
nbd [Tue, 29 Jul 2014 02:12:24 +0000 (02:12 +0000)]
procd: check output of "uci show" instead of raw config files in order to track uncommitted changes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41865 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: add more missing ifdefs
nbd [Mon, 28 Jul 2014 22:52:39 +0000 (22:52 +0000)]
hostapd: add more missing ifdefs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41863 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: more dynamic interface improvements
cyrus [Mon, 28 Jul 2014 20:35:53 +0000 (20:35 +0000)]
netifd: more dynamic interface improvements

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41862 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: replace nvram_buf with a properly initialized array
jogo [Mon, 28 Jul 2014 15:31:37 +0000 (15:31 +0000)]
brcm63xx: replace nvram_buf with a properly initialized array

Use an empty nvram_header to tell wl that there is no nvram buf.
wl else might try to allocate huge amount of memory because the
bcm63xx's nvram does not match the expected structure and contains
random values.

Fixes the following warning on load of wl:

[    9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0()
[    9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core
[    9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P             3.10.49 #1
[    9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000
[    9.176000]    8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810
[    9.176000]    0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918
[    9.176000]    ...
[    9.212000] Call Trace:
[    9.216000] [<800224b8>] show_stack+0x48/0x70
[    9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8
[    9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24
[    9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0
[    9.236000] [<80097258>] __kmalloc+0x20/0x10c
[    9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl]
[    9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl]
[    9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl]
[    9.256000]
[    9.260000] ---[ end trace b5c4dbb046cf3c83 ]---

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41861 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: fix dgn3500 and td8970 wifi
blogic [Mon, 28 Jul 2014 15:26:41 +0000 (15:26 +0000)]
lantiq: fix dgn3500 and td8970 wifi

ath9k failed to come up due to a bad mac addr

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41860 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: correct typo ubsphy -> usbphy
blogic [Mon, 28 Jul 2014 15:26:36 +0000 (15:26 +0000)]
ramips: correct typo ubsphy -> usbphy

This appears to be a typo.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41859 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix mode switch gpio for AsiaRF AWM eval board
blogic [Mon, 28 Jul 2014 15:26:32 +0000 (15:26 +0000)]
ramips: fix mode switch gpio for AsiaRF AWM eval board

Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add ethernet macaddr to dts for AWM003-EVB
blogic [Mon, 28 Jul 2014 15:26:23 +0000 (15:26 +0000)]
ramips: add ethernet macaddr to dts for AWM003-EVB

Follows the pattern of http://patchwork.openwrt.org/patch/5970/

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41857 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: 3.14: fix ath9k_pci_fixup
jogo [Mon, 28 Jul 2014 11:12:25 +0000 (11:12 +0000)]
brcm63xx: 3.14: fix ath9k_pci_fixup

Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until
they're needed"), pci fixups are run with bridges (e.g. the pcie port)
disabled.

This causses hangs when ath9k_pci_fixup tries to manually enable the
device to apply the register fixups.

Fix this by enabling any parent bridges before trying to access the
device itself.

Fixes boot on DSL-274XB rev F1.

Reported-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41856 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: add missing ifdef
nbd [Mon, 28 Jul 2014 10:36:51 +0000 (10:36 +0000)]
hostapd: add missing ifdef

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41855 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: fix dgn3500 ethernet
blogic [Mon, 28 Jul 2014 08:06:40 +0000 (08:06 +0000)]
lantiq: fix dgn3500 ethernet

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41854 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for ADB P.DG A4001N
jogo [Sun, 27 Jul 2014 17:44:59 +0000 (17:44 +0000)]
brcm63xx: Add support for ADB P.DG A4001N

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41852 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for Huawei HG520v
jogo [Sun, 27 Jul 2014 17:44:56 +0000 (17:44 +0000)]
brcm63xx: Add support for Huawei HG520v

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41851 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for ZyXEL P870HW-51a v2
jogo [Sun, 27 Jul 2014 17:44:53 +0000 (17:44 +0000)]
brcm63xx: Add support for ZyXEL P870HW-51a v2

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41850 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)
jogo [Sun, 27 Jul 2014 17:44:51 +0000 (17:44 +0000)]
firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41849 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for Comtrend VR-3025un
jogo [Sun, 27 Jul 2014 17:44:48 +0000 (17:44 +0000)]
brcm63xx: Add support for Comtrend VR-3025un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41848 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for Comtrend VR-3025u
jogo [Sun, 27 Jul 2014 17:44:45 +0000 (17:44 +0000)]
brcm63xx: Add support for Comtrend VR-3025u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41847 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: enable usb and gpio
blogic [Sun, 27 Jul 2014 14:52:18 +0000 (14:52 +0000)]
octeon: enable usb and gpio

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41846 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: add gpio driver
blogic [Sun, 27 Jul 2014 14:52:12 +0000 (14:52 +0000)]
octeon: add gpio driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41845 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: add detection for edgerouter and edgerouter-pro
blogic [Sun, 27 Jul 2014 14:52:07 +0000 (14:52 +0000)]
octeon: add detection for edgerouter and edgerouter-pro

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41844 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: select gcc 4.6 by default
blogic [Sun, 27 Jul 2014 14:52:00 +0000 (14:52 +0000)]
octeon: select gcc 4.6 by default

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41843 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: fix usb support on edge router pro
blogic [Sat, 26 Jul 2014 20:36:32 +0000 (20:36 +0000)]
octeon: fix usb support on edge router pro

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41842 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for Kingston MLW221
blogic [Sat, 26 Jul 2014 20:36:22 +0000 (20:36 +0000)]
ramips: add support for Kingston MLW221

This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41841 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: Remove stale calls to start() in initscripts.
blogic [Sat, 26 Jul 2014 20:36:15 +0000 (20:36 +0000)]
base-files: Remove stale calls to start() in initscripts.

based on http://patchwork.openwrt.org/patch/5969/

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41840 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: ethernet mac cleanup
blogic [Sat, 26 Jul 2014 20:36:09 +0000 (20:36 +0000)]
ramips: ethernet mac cleanup

Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41839 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix vlan configuration for asiarf avm003
blogic [Sat, 26 Jul 2014 20:36:01 +0000 (20:36 +0000)]
ramips: fix vlan configuration for asiarf avm003

The earlier r41797 change was missing this part, to enable the right
vlan configuration.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41838 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix sysupgrade for asiarf awm003
blogic [Sat, 26 Jul 2014 20:35:46 +0000 (20:35 +0000)]
ramips: fix sysupgrade for asiarf awm003

Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41837 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: fix a small issue in r41831
nbd [Sat, 26 Jul 2014 14:35:15 +0000 (14:35 +0000)]
netifd: fix a small issue in r41831

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41836 3c298f89-4303-0410-b956-a3cf2f4a3e73