aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rxon.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rxon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
index d21f535a3b4f..1c6659416621 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
@@ -296,9 +296,9 @@ static int iwlagn_rxon_connect(struct iwl_priv *priv,
296 } 296 }
297 297
298 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION && 298 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION &&
299 priv->cfg->ht_params && priv->cfg->ht_params->smps_mode) 299 cfg(priv)->ht_params && cfg(priv)->ht_params->smps_mode)
300 ieee80211_request_smps(ctx->vif, 300 ieee80211_request_smps(ctx->vif,
301 priv->cfg->ht_params->smps_mode); 301 cfg(priv)->ht_params->smps_mode);
302 302
303 return 0; 303 return 0;
304} 304}
@@ -445,8 +445,8 @@ int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx)
445 * force CTS-to-self frames protection if RTS-CTS is not preferred 445 * force CTS-to-self frames protection if RTS-CTS is not preferred
446 * one aggregation protection method 446 * one aggregation protection method
447 */ 447 */
448 if (!(priv->cfg->ht_params && 448 if (!(cfg(priv)->ht_params &&
449 priv->cfg->ht_params->use_rts_for_aggregation)) 449 cfg(priv)->ht_params->use_rts_for_aggregation))
450 ctx->staging.flags |= RXON_FLG_SELF_CTS_EN; 450 ctx->staging.flags |= RXON_FLG_SELF_CTS_EN;
451 451
452 if ((ctx->vif && ctx->vif->bss_conf.use_short_slot) || 452 if ((ctx->vif && ctx->vif->bss_conf.use_short_slot) ||