Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236099
b: refs/heads/master
c: 668c711
h: refs/heads/master
i:
  236097: dd86700
  236095: f1cfe59
v: v3
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent 78f27bc commit 6061b8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 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: 2d57aa7bb708ada6e902c200e103d1ece380fb9c
refs/heads/master: 668c711bfd80e96c0ee92c2c098b81de62bbf7d3
26 changes: 0 additions & 26 deletions trunk/drivers/staging/rtl8192e/r8192E_dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,34 +195,8 @@ void dm_CheckRxAggregation(struct net_device *dev) {
}
#endif


// call the script file to enable
void dm_check_ac_dc_power(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
static char *ac_dc_check_script_path = "/etc/acpi/wireless-rtl-ac-dc-power.sh";
char *argv[] = {ac_dc_check_script_path,DRV_NAME,NULL};
static char *envp[] = {"HOME=/",
"TERM=linux",
"PATH=/usr/bin:/bin",
NULL};

if(priv->ResetProgress == RESET_TYPE_SILENT)
{
RT_TRACE((COMP_INIT | COMP_POWER | COMP_RF), "GPIOChangeRFWorkItemCallBack(): Silent Reseting!!!!!!!\n");
return;
}

if(priv->ieee80211->state != IEEE80211_LINKED) {
return;
}
call_usermodehelper(ac_dc_check_script_path,argv,envp,1);
}

void hal_dm_watchdog(struct net_device *dev)
{
dm_check_ac_dc_power(dev);

/*Add by amy 2008/05/15 ,porting from windows code.*/
dm_check_rate_adaptive(dev);
dm_dynamic_txpower(dev);
Expand Down

0 comments on commit 6061b8f

Please sign in to comment.