diff options
| -rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index c6678aa9b4ef..674dab71d71c 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c | |||
| @@ -1100,6 +1100,10 @@ static int mv88e6xxx_port_check_hw_vlan(struct dsa_switch *ds, int port, | |||
| 1100 | }; | 1100 | }; |
| 1101 | int i, err; | 1101 | int i, err; |
| 1102 | 1102 | ||
| 1103 | /* DSA and CPU ports have to be members of multiple vlans */ | ||
| 1104 | if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) | ||
| 1105 | return 0; | ||
| 1106 | |||
| 1103 | if (!vid_begin) | 1107 | if (!vid_begin) |
| 1104 | return -EOPNOTSUPP; | 1108 | return -EOPNOTSUPP; |
| 1105 | 1109 | ||
