Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a226ab6 authored by Wey-Yi Guy's avatar Wey-Yi Guy
Browse files

iwlagn: remove 3945 only station code



After driver split, no more 3945 only station support needed.

Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent d6b80618
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;

}