diff options
| -rw-r--r-- | drivers/net/ethernet/ti/cpsw_ale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_ale.c b/drivers/net/ethernet/ti/cpsw_ale.c index 17c59fa2561d..67dc769441ce 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.c +++ b/drivers/net/ethernet/ti/cpsw_ale.c | |||
| @@ -491,9 +491,9 @@ void cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti) | |||
| 491 | cpsw_ale_get_vlan_unreg_mcast(ale_entry, | 491 | cpsw_ale_get_vlan_unreg_mcast(ale_entry, |
| 492 | ale->vlan_field_bits); | 492 | ale->vlan_field_bits); |
| 493 | if (allmulti) | 493 | if (allmulti) |
| 494 | unreg_mcast |= 1; | 494 | unreg_mcast |= ALE_PORT_HOST; |
| 495 | else | 495 | else |
| 496 | unreg_mcast &= ~1; | 496 | unreg_mcast &= ~ALE_PORT_HOST; |
| 497 | cpsw_ale_set_vlan_unreg_mcast(ale_entry, unreg_mcast, | 497 | cpsw_ale_set_vlan_unreg_mcast(ale_entry, unreg_mcast, |
| 498 | ale->vlan_field_bits); | 498 | ale->vlan_field_bits); |
| 499 | cpsw_ale_write(ale, idx, ale_entry); | 499 | cpsw_ale_write(ale, idx, ale_entry); |
