kernel: backport fixes for realtek r8152
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 705-11-v6.0-net-dsa-mt7530-rework-mt7530_hw_vlan_-add-del.patch
index 2476cd361a8564db812bc48cca4610e4716f0bb0..4adb167199995d22dde7af82db636e0cc3952975 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/dsa/mt7530.c
 +++ b/drivers/net/dsa/mt7530.c
-@@ -1537,11 +1537,11 @@ static void
+@@ -1544,11 +1544,11 @@ static void
  mt7530_hw_vlan_add(struct mt7530_priv *priv,
                   struct mt7530_hw_vlan_entry *entry)
  {
@@ -40,7 +40,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  
        /* Validate the entry with independent learning, create egress tag per
         * VLAN and joining the port as one of the port members.
-@@ -1552,22 +1552,20 @@ mt7530_hw_vlan_add(struct mt7530_priv *p
+@@ -1559,22 +1559,20 @@ mt7530_hw_vlan_add(struct mt7530_priv *p
  
        /* Decide whether adding tag or not for those outgoing packets from the
         * port inside the VLAN.
@@ -72,7 +72,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  }
  
  static void
-@@ -1586,11 +1584,7 @@ mt7530_hw_vlan_del(struct mt7530_priv *p
+@@ -1593,11 +1591,7 @@ mt7530_hw_vlan_del(struct mt7530_priv *p
                return;
        }