Search Linux Wireless

Re: [RFC] Implement basic background scanning

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

 



Am Montag, 15. September 2008 16:32:00 schrieb Michael Buesch:
> On Monday 15 September 2008 14:29:46 Helmut Schaa wrote:
> > -	if (unlikely(rx->flags & IEEE80211_RX_IN_SCAN)) {
> > +	if (unlikely(rx->flags & IEEE80211_RX_IN_SCAN && !local->bg_scanning))
> > {
>
> Does & have precedence over && or the other way around?

AFAIK & has precedence ;) 

> I don't know and I don't want to. Please use parens ;)

Anyway parentheses make it definitively more readable.
--
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