netxen: fix check for ip addr hashing support
authorAmit Kumar Salecha <amit@netxen.com>
Thu, 10 Sep 2009 01:12:37 +0000 (18:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2009 01:12:37 +0000 (18:12 -0700)
Fix typo in checking dest ip has support before
programming destip addresses.

Signed-off-by: Amit Kumar Salecha <amit@netxen.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c

index 304618aa09ddd88e79a934e92205c540c06d8fdb..81c24a7effcf2876c51f98ddee8f1c2886cdcc0f 100644 (file)
@@ -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);