aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rxon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
index a580efefd4b4..58a381c01c89 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
@@ -294,8 +294,8 @@ static int iwlagn_rxon_connect(struct iwl_priv *priv,
294 return ret; 294 return ret;
295 } 295 }
296 296
297 if ((ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION) && 297 if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION &&
298 priv->cfg->ht_params->smps_mode) 298 priv->cfg->ht_params && priv->cfg->ht_params->smps_mode)
299 ieee80211_request_smps(ctx->vif, 299 ieee80211_request_smps(ctx->vif,
300 priv->cfg->ht_params->smps_mode); 300 priv->cfg->ht_params->smps_mode);
301 301