Search Linux Wireless

Re: [PATCH 5/7] ath5k: Move OFDM timings into a helper routine

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

 



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

[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