Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324199
b: refs/heads/master
c: 479e0d4
h: refs/heads/master
i:
  324197: 87257e9
  324195: ef3c64b
  324191: d23d364
v: v3
  • Loading branch information
Jiang Liu authored and Bjorn Helgaas committed Aug 23, 2012
1 parent 3f45e30 commit c99fc19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 532c5f69e223ec846511fa4a14fa1fc8bca142a2
refs/heads/master: 479e0d485eaab452cf248cd1a9520015023b35b2
8 changes: 3 additions & 5 deletions trunk/drivers/staging/rtl8192e/rtl8192e/rtl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ static void rtl8192_parse_pci_configuration(struct pci_dev *pdev,
struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);

u8 tmp;
int pos;
u8 LinkCtrlReg;
u16 LinkCtrlReg;

pos = pci_find_capability(priv->pdev, PCI_CAP_ID_EXP);
pci_read_config_byte(priv->pdev, pos + PCI_EXP_LNKCTL, &LinkCtrlReg);
priv->NdisAdapter.LinkCtrlReg = LinkCtrlReg;
pcie_capability_read_word(priv->pdev, PCI_EXP_LNKCTL, &LinkCtrlReg);
priv->NdisAdapter.LinkCtrlReg = (u8)LinkCtrlReg;

RT_TRACE(COMP_INIT, "Link Control Register =%x\n",
priv->NdisAdapter.LinkCtrlReg);
Expand Down

0 comments on commit c99fc19

Please sign in to comment.