Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265372
b: refs/heads/master
c: 581c9c4
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and John W. Linville committed Aug 8, 2011
1 parent 4ba564c commit 0c46399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26aaa4a0e923326560286e567b9fbf8429d5ef2b
refs/heads/master: 581c9c4f7113fbb4d28d58ab6b2125e16ce62812
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
struct ath_softc *sc;
struct ieee80211_hw *hw;
u8 csz;
u16 subsysid;
u32 val;
int ret = 0;
char hw_name[64];
Expand Down Expand Up @@ -250,8 +249,8 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)

sc->irq = pdev->irq;

pci_read_config_word(pdev, PCI_SUBSYSTEM_ID, &subsysid);
ret = ath9k_init_device(id->device, sc, subsysid, &ath_pci_bus_ops);
ret = ath9k_init_device(id->device, sc, pdev->subsystem_device,
&ath_pci_bus_ops);
if (ret) {
dev_err(&pdev->dev, "Failed to initialize device\n");
goto err_init;
Expand Down

0 comments on commit 0c46399

Please sign in to comment.