Search Linux Wireless

Re: [PATCH] p54: return NETDEV_TX_OK in p54_tx and fix sparse warnings

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

 



On Wed, 2009-01-07 at 16:43 +0100, Johannes Berg wrote:

> > @@ -1750,7 +1750,7 @@ static int p54_set_ps(struct ieee80211_hw *dev)
> >  	int i;
> >  
> >  	if (dev->conf.flags & IEEE80211_CONF_PS)
> > -		mode = cpu_to_le16(P54_PSM | P54_PSM_DTIM | P54_PSM_MCBC);
> > +		mode = P54_PSM | P54_PSM_DTIM | P54_PSM_MCBC;
> 
> you also have to declare mode as u16, no?

Sorry, you do, I got confused.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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