aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-mac80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-mac80211.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-mac80211.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c b/drivers/net/wireless/iwlwifi/iwl-mac80211.c
index 20388ec8f9db..293110bf8bfe 100644
--- a/drivers/net/wireless/iwlwifi/iwl-mac80211.c
+++ b/drivers/net/wireless/iwlwifi/iwl-mac80211.c
@@ -1130,8 +1130,8 @@ void iwlagn_mac_rssi_callback(struct ieee80211_hw *hw,
1130 IWL_DEBUG_MAC80211(priv, "enter\n"); 1130 IWL_DEBUG_MAC80211(priv, "enter\n");
1131 mutex_lock(&priv->mutex); 1131 mutex_lock(&priv->mutex);
1132 1132
1133 if (cfg(priv)->bt_params && 1133 if (priv->cfg->bt_params &&
1134 cfg(priv)->bt_params->advanced_bt_coexist) { 1134 priv->cfg->bt_params->advanced_bt_coexist) {
1135 if (rssi_event == RSSI_EVENT_LOW) 1135 if (rssi_event == RSSI_EVENT_LOW)
1136 priv->bt_enable_pspoll = true; 1136 priv->bt_enable_pspoll = true;
1137 else if (rssi_event == RSSI_EVENT_HIGH) 1137 else if (rssi_event == RSSI_EVENT_HIGH)
@@ -1240,7 +1240,7 @@ int iwl_setup_interface(struct iwl_priv *priv, struct iwl_rxon_context *ctx)
1240 return err; 1240 return err;
1241 } 1241 }
1242 1242
1243 if (cfg(priv)->bt_params && cfg(priv)->bt_params->advanced_bt_coexist && 1243 if (priv->cfg->bt_params && priv->cfg->bt_params->advanced_bt_coexist &&
1244 vif->type == NL80211_IFTYPE_ADHOC) { 1244 vif->type == NL80211_IFTYPE_ADHOC) {
1245 /* 1245 /*
1246 * pretend to have high BT traffic as long as we 1246 * pretend to have high BT traffic as long as we