diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-22 08:05:36 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-03-25 06:58:39 -0700 |
commit | 2a226ab67f2f9c46e534f37f867d3bf3af335d02 (patch) | |
tree | de667676d9e28ba0679200fa55e251c64dd956ee /drivers/net | |
parent | d6b8061824a03fbe915c6cf5be2b290ae44c4ec4 (diff) | |
download | talos-obmc-linux-2a226ab67f2f9c46e534f37f867d3bf3af335d02.tar.gz talos-obmc-linux-2a226ab67f2f9c46e534f37f867d3bf3af335d02.zip |
iwlagn: remove 3945 only station code
After driver split, no more 3945 only station support needed.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index bc90a12408a3..b0dcca07ff45 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c @@ -306,12 +306,6 @@ u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx, */ iwl_set_ht_add_station(priv, sta_id, sta, ctx); - /* 3945 only */ - rate = (priv->band == IEEE80211_BAND_5GHZ) ? - IWL_RATE_6M_PLCP : IWL_RATE_1M_PLCP; - /* Turn on both antennas for the station... */ - station->sta.rate_n_flags = cpu_to_le16(rate | RATE_MCS_ANT_AB_MSK); - return sta_id; } |