projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a84de9
)
fix breakage on wl500gp after r18214, thanks sn9 (#6084)
author
Florian Fainelli
<florian@openwrt.org>
Tue, 3 Nov 2009 20:35:37 +0000
(20:35 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 3 Nov 2009 20:35:37 +0000
(20:35 +0000)
SVN-Revision: 18289
package/switch/src/switch-robo.c
patch
|
blob
|
history
diff --git
a/package/switch/src/switch-robo.c
b/package/switch/src/switch-robo.c
index 481bb76a5b5b21b95769daf018a5761c6cddb8ea..9f06896026fd0789945f676bafdf234dfdb7bcff 100644
(file)
--- 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;