Search Linux Wireless

[PATCH v3 07/16] ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()

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

 



Luis Rodriguez wrote:
> -       case IQ_MISMATCH_CAL:
> -               if (!IS_CHAN_B(chan))
> -                       retval = true;
> -               break;
> +       case IQ_MISMATCH_CAL: /* Both 2 GHz and 5 GHz support OFDM */
> +               return true;
>         case ADC_GAIN_CAL:
>         case ADC_DC_CAL:
> -               if (!IS_CHAN_B(chan)
> -                   && !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan)))
> -                       retval = true;
> +               if (conf->channel->band == IEEE80211_BAND_5GHZ &&
> +                 conf_is_ht20(conf))
> +                       return true;
>                 break;
>         }

Why are the IS_CHAN_B() checks removed ?

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