Ver Fonte

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>
Wey-Yi Guy há 14 anos atrás
pai
commit
2a226ab67f
1 ficheiros alterados com 0 adições e 6 exclusões
  1. 0 6
      drivers/net/wireless/iwlwifi/iwl-sta.c

+ 0 - 6
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;
 
 }