ar71xx: Fix tagged+untagged operation on AR8327N (#12181)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 19 May 2014 15:48:18 +0000 (15:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 19 May 2014 15:48:18 +0000 (15:48 +0000)
commit608c7e8730c4238c567c52232dae42ef0a5ea879
tree720cd5f189412786dec33f5fbe8911af97dac15a
parent9baf77b88d1bd460c13451923a091b7caf420948
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