iwlwifi: dvm: don't send BT_CONFIG on devices w/o Bluetooth
authorJohannes Berg <johannes.berg@intel.com>
Fri, 3 May 2013 16:58:16 +0000 (18:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 10:55:05 +0000 (13:55 +0300)
commit707aee401d2467baa785a697f40a6e2d9ee79ad5
tree4607da11fe8355ca1f9a28e40eed860ba7ce4012
parentb7327d89ae694a89f9934d428bde520b77b3131c
iwlwifi: dvm: don't send BT_CONFIG on devices w/o Bluetooth

The BT_CONFIG command that is sent to the device during
startup will enable BT coex unless the module parameter
turns it off, but on devices without Bluetooth this may
cause problems, as reported in Redhat BZ 885407.

Fix this by sending the BT_CONFIG command only when the
device has Bluetooth.

Cc: stable@vger.kernel.org
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
drivers/net/wireless/iwlwifi/dvm/main.c