|
@@ -121,7 +121,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops)
|
|
|
rt2x00dev->ops = ops;
|
|
rt2x00dev->ops = ops;
|
|
|
rt2x00dev->hw = hw;
|
|
rt2x00dev->hw = hw;
|
|
|
rt2x00dev->irq = pci_dev->irq;
|
|
rt2x00dev->irq = pci_dev->irq;
|
|
|
- rt2x00dev->name = pci_name(pci_dev);
|
|
|
|
|
|
|
+ rt2x00dev->name = ops->name;
|
|
|
|
|
|
|
|
if (pci_is_pcie(pci_dev))
|
|
if (pci_is_pcie(pci_dev))
|
|
|
rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCIE);
|
|
rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_PCIE);
|