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>
This commit is contained in:
Amit Kumar Salecha 2009-09-09 18:12:37 -07:00 committed by David S. Miller
parent 23bcf634c8
commit 3db7675506

View 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);