ar71xx: Fix tagged+untagged operation on AR8327N (#12181)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 May 2014 15:48:18 +0000 (15:48 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 19 May 2014 15:48:18 +0000 (15:48 +0000)
commit13b98a6d27a4a78d3449f7de2847927161061ae1
tree720cd5f189412786dec33f5fbe8911af97dac15a
parentfbf1d5ebe71969ae792f8d91df6acb8d58129e73
ar71xx: Fix tagged+untagged operation on AR8327N (#12181)

Replace the global "vlan_tagged" variable with an array storing the
tagging state per vlan.

The code was taken from #12181, tested and cleaned up by Saverio Proto
with additional bug fixes supplied by Álvaro Fernández.

Tested-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Saverio Proto <zioproto@gmail.com>
Signed-off-by: Álvaro Fernández <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40777 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c