Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149804461
D9607.id25199.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
804 B
Referenced Files
None
Subscribers
None
D9607.id25199.diff
View Options
Index: sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
===================================================================
--- sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
+++ sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
@@ -405,10 +405,11 @@
MTKSWITCH_LOCK(sc);
/* First, see if we can accomodate the request at all */
val = MTKSWITCH_READ(sc, MTKSWITCH_POC2);
- if ((val & POC2_UNTAG_VLAN) == 0 ||
- sc->sc_switchtype == MTK_SWITCH_RT3050) {
- val &= VUB_MASK;
- tmp = v->es_untagged_ports & v->es_member_ports;
+ if (sc->sc_switchtype == MTK_SWITCH_RT3050 ||
+ (val & POC2_UNTAG_VLAN) == 0) {
+ /* check port base untag setting */
+ val &= v->es_member_ports;
+ tmp = v->es_untagged_ports;
if (val != tmp) {
/* Cannot accomodate request */
MTKSWITCH_UNLOCK(sc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 28, 5:52 AM (1 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30459717
Default Alt Text
D9607.id25199.diff (804 B)
Attached To
Mode
D9607: fixed vlangroup opration at RT3050.
Attached
Detach File
Event Timeline
Log In to Comment