netxen: fix msi irq setup

The pdev->irq was not saved in netxen_adapter, causing request_irq()
with invalid irq number.

This was broken in commit be339aee63
("netxen: fix irq tear down and msix leak.").

Signed-off-by: Dhananjay Phadke <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Dhananjay Phadke authored and David S. Miller committed 2009-05-18 21:46:40 -07:00
1 parent bb803cfbec
commit f67f340849
1 file changed
+1
+1
View File
@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter)
adapter->msi_tgt_status =
msi_tgt_status[adapter->ahw.pci_func];
dev_info(&pdev->dev, "using msi interrupts\n");
adapter->msix_entries[0].vector = pdev->irq;
return;
}