diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index b01d81a3550b..3427fc2b7d68 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -1897,7 +1897,10 @@ static void iwlagn_bt_traffic_change_work(struct work_struct *work) | |||
1897 | 1897 | ||
1898 | switch (priv->bt_traffic_load) { | 1898 | switch (priv->bt_traffic_load) { |
1899 | case IWL_BT_COEX_TRAFFIC_LOAD_NONE: | 1899 | case IWL_BT_COEX_TRAFFIC_LOAD_NONE: |
1900 | smps_request = IEEE80211_SMPS_AUTOMATIC; | 1900 | if (priv->bt_status) |
1901 | smps_request = IEEE80211_SMPS_DYNAMIC; | ||
1902 | else | ||
1903 | smps_request = IEEE80211_SMPS_AUTOMATIC; | ||
1901 | break; | 1904 | break; |
1902 | case IWL_BT_COEX_TRAFFIC_LOAD_LOW: | 1905 | case IWL_BT_COEX_TRAFFIC_LOAD_LOW: |
1903 | smps_request = IEEE80211_SMPS_DYNAMIC; | 1906 | smps_request = IEEE80211_SMPS_DYNAMIC; |