projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b8061
)
iwlagn: remove 3945 only station code
author
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Tue, 22 Mar 2011 15:05:36 +0000
(08:05 -0700)
committer
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Fri, 25 Mar 2011 13:58:39 +0000
(06:58 -0700)
After driver split, no more 3945 only station support needed.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-sta.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-sta.c
b/drivers/net/wireless/iwlwifi/iwl-sta.c
index bc90a12408a3e850d8a02fc8c2dc5469f2f6b50c..b0dcca07ff4588d57961477624593d7d2b5daa22 100644
(file)
--- 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;
}