Search Linux Wireless

Re: Powersave broken on p54

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-03-02 at 19:18 +0100, Christian Lamparter wrote:
> Not sure, don't have any hardware to play with ATM.
> But maybe the attached "hack" helps a bit?
> ---
> diff --git a/drivers/net/wireless/p54/fwio.c b/drivers/net/wireless/p54/fwio.c
> index 2fab7d2..df56a82 100644
> --- a/drivers/net/wireless/p54/fwio.c
> +++ b/drivers/net/wireless/p54/fwio.c
> @@ -615,8 +615,8 @@ int p54_set_ps(struct p54_common *priv)
>  	psm->mode = cpu_to_le16(mode);
>  	psm->aid = cpu_to_le16(priv->aid);
>  	for (i = 0; i < ARRAY_SIZE(psm->intervals); i++) {
> -		psm->intervals[i].interval =
> -			cpu_to_le16(priv->hw->conf.listen_interval);
> +		psm->intervals[i].interval = cpu_to_le16(1);
> +//			cpu_to_le16(priv->hw->conf.listen_interval);
>  		psm->intervals[i].periods = cpu_to_le16(1);
>  	}

This doesn't help.


-- 
Greetings, Michael.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux