diff options
Diffstat (limited to 'drivers/net/ksz884x.c')
-rw-r--r-- | drivers/net/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c index 7805bbf1d53a..62362b4a8c56 100644 --- a/drivers/net/ksz884x.c +++ b/drivers/net/ksz884x.c | |||
@@ -5718,7 +5718,7 @@ static void dev_set_promiscuous(struct net_device *dev, struct dev_priv *priv, | |||
5718 | * from the bridge. | 5718 | * from the bridge. |
5719 | */ | 5719 | */ |
5720 | if ((hw->features & STP_SUPPORT) && !promiscuous && | 5720 | if ((hw->features & STP_SUPPORT) && !promiscuous && |
5721 | dev->br_port) { | 5721 | (dev->priv_flags & IFF_BRIDGE_PORT)) { |
5722 | struct ksz_switch *sw = hw->ksz_switch; | 5722 | struct ksz_switch *sw = hw->ksz_switch; |
5723 | int port = priv->port.first_port; | 5723 | int port = priv->port.first_port; |
5724 | 5724 | ||