diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index c54c20023e7c..eaae49ee0c60 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -259,7 +259,8 @@ static void iwl_rx_scan_complete_notif(struct iwl_priv *priv, | |||
259 | queue_work(priv->workqueue, &priv->scan_completed); | 259 | queue_work(priv->workqueue, &priv->scan_completed); |
260 | 260 | ||
261 | if (priv->iw_mode != NL80211_IFTYPE_ADHOC && | 261 | if (priv->iw_mode != NL80211_IFTYPE_ADHOC && |
262 | priv->cfg->advanced_bt_coexist && | 262 | priv->cfg->bt_params && |
263 | priv->cfg->bt_params->advanced_bt_coexist && | ||
263 | priv->bt_status != scan_notif->bt_status) { | 264 | priv->bt_status != scan_notif->bt_status) { |
264 | if (scan_notif->bt_status) { | 265 | if (scan_notif->bt_status) { |
265 | /* BT on */ | 266 | /* BT on */ |