Search Linux Wireless

Re: [RFC] cfg80211: keep track of supported interface modes

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

 



> > --- everything.orig/drivers/net/wireless/b43/main.c     2008-08-07 16:49:57.000000000 +0200
> > +++ everything/drivers/net/wireless/b43/main.c  2008-08-07 16:57:12.000000000 +0200
> > @@ -4165,11 +4165,11 @@ static int b43_op_add_interface(struct i
> >
> >        /* TODO: allow WDS/AP devices to coexist */
> >
> > -       if (conf->type != IEEE80211_IF_TYPE_AP &&
> > -           conf->type != IEEE80211_IF_TYPE_MESH_POINT &&
> > -           conf->type != IEEE80211_IF_TYPE_STA &&
> > -           conf->type != IEEE80211_IF_TYPE_WDS &&
> > -           conf->type != IEEE80211_IF_TYPE_IBSS)
> > +       if (WARN_ON(conf->type != IEEE80211_IF_TYPE_AP &&
> 
> When would we hit the WARN_ON() ?

When I make a mistake in mac80211 :) Might as well leave it out.

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