aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit@netxen.com>2009-09-09 18:12:37 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-09 18:12:37 -0700
commit3db7675506ef7460bf6220545bfc69abb7dbceab (patch)
tree89e9c6aa2772af4ab4ed2f88be03a25b86119bba /drivers/net
parent23bcf634c8bc0d84607a5b863333191d58baee4c (diff)
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 <amit@netxen.com> Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
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);