mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:34:36 +02:00
[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
This commit is contained in:
parent
47ef97e2e3
commit
2fbb0f0be3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user