On 11/01/2007 11:01 PM, Luis R. Rodriguez wrote: > On 11/1/07, Jiri Slaby <jirislaby@xxxxxxxxx> wrote: >> On 11/01/2007 10:53 PM, Luis R. Rodriguez wrote: >>> + if (!(ah->ah_version == AR5K_AR5212) || >>> + !(channel->val & CHANNEL_OFDM)) >>> + BUG(); >> Note, that BUG can return (on configurations where !CONFIG_BUG). It is my fault >> writing you it won't, sorry! Could you post a patch which will add return from >> here and also from places where the BUG() is used in other places? > > The only case where this will trigger is if someone in the driver > called this on hardware not supported so it is intended. > > Do you want to BUG() and also return? Yes, exactly. - 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