Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290412
b: refs/heads/master
c: 1232528
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Feb 9, 2012
1 parent cbf77f6 commit fdada1f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2cfc6fc584a65db87935ca4e4d5e1ad89d5192ee
refs/heads/master: 12325280dfeba18164f9c47e226a40ab34e23ee7
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/rtlwifi/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1492,10 +1492,10 @@ static int rtl_pci_init(struct ieee80211_hw *hw, struct pci_dev *pdev)
if (err) {
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
"tx ring initialization failed\n");
return 0;
return err;
}

return 1;
return 0;
}

static int rtl_pci_start(struct ieee80211_hw *hw)
Expand Down Expand Up @@ -1866,7 +1866,7 @@ int __devinit rtl_pci_probe(struct pci_dev *pdev,
}

/* Init PCI sw */
err = !rtl_pci_init(hw, pdev);
err = rtl_pci_init(hw, pdev);
if (err) {
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "Failed to init PCI\n");
goto fail3;
Expand Down

0 comments on commit fdada1f

Please sign in to comment.