Skip to content

Commit

Permalink
PM_FAST for wifi - (patch from Myshkinbob - XDA)
Browse files Browse the repository at this point in the history
  • Loading branch information
thalamus committed Mar 29, 2011
1 parent c3e4781 commit 3257008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/bcm4329/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ static void dhd_set_packet_filter(int value, dhd_pub_t *dhd)
#if defined(CONFIG_HAS_EARLYSUSPEND)
static int dhd_set_suspend(int value, dhd_pub_t *dhd)
{
int power_mode = PM_MAX;
int power_mode = PM_FAST;
/* wl_pkt_filter_enable_t enable_parm; */
char iovbuf[32];
int bcn_li_dtim = 3;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/bcm4329/wl_iw.c
Original file line number Diff line number Diff line change
Expand Up @@ -4784,7 +4784,7 @@ wl_iw_set_power(

WL_TRACE(("%s: SIOCSIWPOWER\n", dev->name));

pm = vwrq->disabled ? PM_OFF : PM_MAX;
pm = vwrq->disabled ? PM_OFF : PM_FAST;

pm = htod32(pm);
if ((error = dev_wlc_ioctl(dev, WLC_SET_PM, &pm, sizeof(pm))))
Expand Down

0 comments on commit 3257008

Please sign in to comment.