aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-11-03 20:35:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-11-03 20:35:37 +0000
commit7b6bda3ebf545bf57293a13feff50bdde6afe26a (patch)
tree6a83d23f3830ff1c15858abf86636587a2876876 /package/switch
parent26738bea217a697fb7da85154f42a968215a4c20 (diff)
downloadmaster-187ad058-7b6bda3ebf545bf57293a13feff50bdde6afe26a.tar.gz
master-187ad058-7b6bda3ebf545bf57293a13feff50bdde6afe26a.tar.bz2
master-187ad058-7b6bda3ebf545bf57293a13feff50bdde6afe26a.zip
[package] fix breakage on wl500gp after r18214, thanks sn9 (#6084)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18289 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/switch')
-rw-r--r--package/switch/src/switch-robo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c
index 481bb76a5b..9f06896026 100644
--- a/package/switch/src/switch-robo.c
+++ b/package/switch/src/switch-robo.c
@@ -500,8 +500,8 @@ static int handle_enable_vlan_write(void *driver, char *buf, int nr)
robo_write16(ROBO_VLAN_PAGE, ROBO_VLAN_CTRL0, disable ? 0 :
(1 << 7) /* 802.1Q VLAN */ | (3 << 5) /* mac check and hash */);
robo_write16(ROBO_VLAN_PAGE, ROBO_VLAN_CTRL1, disable ? 0 :
- (robo.devid == ROBO_DEVICE_ID_5325 ? (1 << 1) : 0) | /* RSV multicast */
- robo_read16(ROBO_VLAN_PAGE, ROBO_VLAN_CTRL0) | (1 << 2) | (1 << 3));
+ (robo.devid == ROBO_DEVICE_ID_5325 ? (1 << 1) :
+ 0) | (1 << 2) | (1 << 3)); /* RSV multicast */
if (robo.devid != ROBO_DEVICE_ID_5325)
return 0;