summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-03-22 08:05:36 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-03-25 06:58:39 -0700
commit2a226ab67f2f9c46e534f37f867d3bf3af335d02 (patch)
treede667676d9e28ba0679200fa55e251c64dd956ee /drivers/net
parentd6b8061824a03fbe915c6cf5be2b290ae44c4ec4 (diff)
downloadtalos-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.c6
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;
}
OpenPOWER on IntegriCloud