Commit 63657b9c authored by Sathya Perla's avatar Sathya Perla Committed by David S. Miller

be2net: Fix be_dev_family_check() return value check

Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c56b4d90
......@@ -2901,7 +2901,7 @@ static int __devinit be_probe(struct pci_dev *pdev,
pci_set_drvdata(pdev, adapter);
status = be_dev_family_check(adapter);
if (!status)
if (status)
goto free_netdev;
adapter->netdev = netdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment