diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 74cc8dbe935..eba36f73738 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -1017,7 +1017,7 @@ int iwl_rxon_add_station(struct iwl_priv *priv, const u8 *addr, bool is_ap) | |||
1017 | */ | 1017 | */ |
1018 | if (priv->current_ht_config.is_ht) { | 1018 | if (priv->current_ht_config.is_ht) { |
1019 | rcu_read_lock(); | 1019 | rcu_read_lock(); |
1020 | sta = ieee80211_find_sta(priv->hw, addr); | 1020 | sta = ieee80211_find_sta(priv->vif, addr); |
1021 | if (sta) { | 1021 | if (sta) { |
1022 | memcpy(&ht_config, &sta->ht_cap, sizeof(ht_config)); | 1022 | memcpy(&ht_config, &sta->ht_cap, sizeof(ht_config)); |
1023 | cur_ht_config = &ht_config; | 1023 | cur_ht_config = &ht_config; |