ip17xx: Maintain state->remove_tag incrementally
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:34 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:34 +0000 (20:18 +0000)
commitd08093b8b3370b67b68420af2c68e0c298e10de3
tree4eb96e7d6d53e95404ed12ca2e964d14e18c9dd8
parente04dd645f2214f98e70e519bff19f02310f3ea23
ip17xx: Maintain state->remove_tag incrementally

So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21717
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c