Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236275
b: refs/heads/master
c: fea84ba
h: refs/heads/master
i:
  236273: 2e57f75
  236271: 3aa2ef6
v: v3
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Mar 7, 2011
1 parent 5d364c5 commit 6f46fad
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 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: 2cb61ea25b49049f9281007f8b534e5d384ebba5
refs/heads/master: fea84ba0f982a57598a92cd806904395f1b8839f
6 changes: 0 additions & 6 deletions trunk/drivers/staging/rtl8192e/r8190_rtl8256.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,6 @@ SetRFPowerState8190(struct net_device *dev, RT_RF_POWER_STATE eRFPowerState)
bool bResult = true;

spin_lock(&priv->ps_lock);
if (priv->SetRFPowerStateInProgress) {
bResult = false;
goto out;
}
priv->SetRFPowerStateInProgress = true;

switch( eRFPowerState )
{
Expand Down Expand Up @@ -428,7 +423,6 @@ SetRFPowerState8190(struct net_device *dev, RT_RF_POWER_STATE eRFPowerState)
}

out:
priv->SetRFPowerStateInProgress = false;
spin_unlock(&priv->ps_lock);
return bResult;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/rtl8192e/r8192E.h
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,6 @@ typedef struct r8192_priv
bool bHwRadioOff;
//by amy for ps
bool RFChangeInProgress; // RF Chnage in progress, by Bruce, 2007-10-30
bool SetRFPowerStateInProgress;
RT_OP_MODE OpMode;
//by amy for reset_count
u32 reset_count;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,6 @@ static void rtl8192_init_priv_variable(struct net_device* dev)
priv->ieee80211->RfOffReason = 0;
priv->RFChangeInProgress = false;
priv->bHwRfOffAction = 0;
priv->SetRFPowerStateInProgress = false;
priv->ieee80211->PowerSaveControl.bInactivePs = true;
priv->ieee80211->PowerSaveControl.bIPSModeBackup = false;

Expand Down

0 comments on commit 6f46fad

Please sign in to comment.