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)
commit443b2dfe3c536aeed22994a78da756ac91b00aa4
treee12d25593667d9d180253221d486df9cc1381548
parent385b08d475a957f0fb75eaafbf81ee29453c0fb3
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>
SVN-Revision: 40777
target/linux/generic/files/drivers/net/phy/ar8216.c