diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/bt-coex.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/bt-coex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c index cf29d74370e9..5b630f12bbff 100644 --- a/drivers/net/wireless/iwlwifi/mvm/bt-coex.c +++ b/drivers/net/wireless/iwlwifi/mvm/bt-coex.c | |||
@@ -648,7 +648,7 @@ static void iwl_mvm_bt_notif_iterator(void *_data, u8 *mac, | |||
648 | } | 648 | } |
649 | 649 | ||
650 | /* reduced Txpower only if BT is on, so ...*/ | 650 | /* reduced Txpower only if BT is on, so ...*/ |
651 | if (le32_to_cpu(data->notif->bt_activity_grading) == BT_OFF) { | 651 | if (!data->notif->bt_status) { |
652 | /* ... cancel reduced Tx power ... */ | 652 | /* ... cancel reduced Tx power ... */ |
653 | if (iwl_mvm_bt_coex_reduced_txp(mvm, mvmvif->ap_sta_id, false)) | 653 | if (iwl_mvm_bt_coex_reduced_txp(mvm, mvmvif->ap_sta_id, false)) |
654 | IWL_ERR(mvm, "Couldn't send BT_CONFIG cmd\n"); | 654 | IWL_ERR(mvm, "Couldn't send BT_CONFIG cmd\n"); |
@@ -868,7 +868,7 @@ void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, | |||
868 | return; | 868 | return; |
869 | 869 | ||
870 | /* No BT - reports should be disabled */ | 870 | /* No BT - reports should be disabled */ |
871 | if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF) | 871 | if (!mvm->last_bt_notif.bt_status) |
872 | return; | 872 | return; |
873 | 873 | ||
874 | IWL_DEBUG_COEX(mvm, "RSSI for %pM is now %s\n", vif->bss_conf.bssid, | 874 | IWL_DEBUG_COEX(mvm, "RSSI for %pM is now %s\n", vif->bss_conf.bssid, |