~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/net/wireless/ath/ath9k/init.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
        hw->wiphy->iface_combinations = &if_comb;
697
697
        hw->wiphy->n_iface_combinations = 1;
698
698
 
699
 
        if (AR_SREV_5416(sc->sc_ah))
700
 
                hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
 
699
        hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
701
700
 
702
701
        hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
703
702
        hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;
721
720
        sc->ant_rx = hw->wiphy->available_antennas_rx;
722
721
        sc->ant_tx = hw->wiphy->available_antennas_tx;
723
722
 
724
 
#ifdef CONFIG_ATH9K_RATE_CONTROL
725
 
        hw->rate_control_algorithm = "ath9k_rate_control";
726
 
#endif
727
 
 
728
723
        if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
729
724
                hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
730
725
                        &sc->sbands[IEEE80211_BAND_2GHZ];