Search Linux Wireless

Re: [PATCH 1/2] mac80211: add suspend/resume callbacks

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

 



On Tue, 2008-12-09 at 11:29 -0500, Bob Copeland wrote:

> > > +		if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
> > > +		    sdata->vif.type == NL80211_IFTYPE_MONITOR &&
> > > +		    netif_running(sdata->dev)) {
> > 
> > But shouldn't that be != _AP_VLAN && != _MONITOR && running?
> 
> Oops, of course it should; that if() started life as continue.  
> But that would just mean a missed call to remove_interface()... 
> in the driver, which for ath5k just clears the mac, so I don't 
> know why it would affect the running state of the interface.

Ok, no, it shouldn't affect the running state.

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