Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186767
b: refs/heads/master
c: 6de92dd
h: refs/heads/master
i:
  186765: da98d46
  186763: 2946cbd
  186759: c27841a
  186751: 1f8d03b
v: v3
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 68350ac commit f249316
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 742821ce5fdf691826154fe72ba0884f71a40982
refs/heads/master: 6de92dd6495e36c0c2cddbee3e7c6a49f608e7cf
7 changes: 4 additions & 3 deletions trunk/drivers/staging/rtl8187se/r8180_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4238,11 +4238,12 @@ void GPIOChangeRFWorkItemCallBack(struct work_struct *work)
/* HW radio On/Off according to the value of FF51[4](config0) */
btConfig0 = btPSR = read_nic_byte(dev, CONFIG0);

/* Turn on LED. */
write_nic_byte(dev, PSR, btPSR | BIT3);

eRfPowerStateToSet = (btConfig0 & BIT4) ? eRfOn : eRfOff;

/* Turn LED back on when radio enabled */
if (eRfPowerStateToSet == eRfOn)
write_nic_byte(dev, PSR, btPSR | BIT3);

if ((priv->ieee80211->bHwRadioOff == true) &&
(eRfPowerStateToSet == eRfOn)) {
priv->ieee80211->bHwRadioOff = false;
Expand Down

0 comments on commit f249316

Please sign in to comment.