Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290355
b: refs/heads/master
c: 1d73c51
h: refs/heads/master
i:
  290353: c444966
  290351: f90fe29
v: v3
  • Loading branch information
Devendra.Naga authored and John W. Linville committed Feb 6, 2012
1 parent 3a635f0 commit bd45430
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d6865dcc58f252480515101fd13532f0fc420b53
refs/heads/master: 1d73c51a8476847d96a6c5a2ae3715d7099c58c9
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/rtlwifi/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static bool _rtl_pci_platform_switch_device_pci_aspm(
}

/*When we set 0x01 to enable clk request. Set 0x0 to disable clk req.*/
static bool _rtl_pci_switch_clk_req(struct ieee80211_hw *hw, u8 value)
static void _rtl_pci_switch_clk_req(struct ieee80211_hw *hw, u8 value)
{
struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
Expand All @@ -207,8 +207,6 @@ static bool _rtl_pci_switch_clk_req(struct ieee80211_hw *hw, u8 value)

if (rtlhal->hw_type == HARDWARE_TYPE_RTL8192SE)
udelay(100);

return true;
}

/*Disable RTL8192SE ASPM & Disable Pci Bridge ASPM*/
Expand Down

0 comments on commit bd45430

Please sign in to comment.