Search Linux Wireless

Re: [PATCH 1/4] ath5k: Fix another faulty channel flag check

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

 



On Nov 14, 2007 11:11 AM, Nick Kossifidis <mick@xxxxxxxxxxx> wrote:
> *Fix another faulty channel flags check
>
> Don't check channel->val against CHANNEL_A/B/G flags because they have common flags set
> eg. doing AND between CHANNEL_A and CHANNEL_G always returns true because they have
> CHANNEL_OFDM, same goes for CHANNEL_B and CHANNEL_G that have CHANNEL_2GHZ in common.
>
> Instead check against CHANNEL_CCK/OFDM/2GHZ/5GHZ...
>
> Changes-licensed-under: ISC
> Signed-off-by: Nick Kossifidis <mickflemm@xxxxxxxxx>

Acked-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxxxx>

  Luis
-
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