From 3db7675506ef7460bf6220545bfc69abb7dbceab Mon Sep 17 00:00:00 2001 From: Amit Kumar Salecha Date: Wed, 9 Sep 2009 18:12:37 -0700 Subject: netxen: fix check for ip addr hashing support Fix typo in checking dest ip has support before programming destip addresses. Signed-off-by: Amit Kumar Salecha Signed-off-by: Dhananjay Phadke Signed-off-by: David S. Miller --- drivers/net/netxen/netxen_nic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net') diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 304618aa09d..81c24a7effc 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -2340,7 +2340,7 @@ netxen_config_indev_addr(struct net_device *dev, unsigned long event) struct in_device *indev; struct netxen_adapter *adapter = netdev_priv(dev); - if (netxen_destip_supported(adapter)) + if (!netxen_destip_supported(adapter)) return; indev = in_dev_get(dev); -- cgit v1.2.3