]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:11 +0000 (01:57 +0100)
commitc971eae7d1ca6ec31cf1a45e5e41b70e8fc8cddc
treeb08cc333d4950c8a3311f89594f2085e73661012
parent517c62b4ca84901872c82a94ed10162111e4be97
iwlwifi: dvm: don't send BT_CONFIG on devices w/o Bluetooth

commit 707aee401d2467baa785a697f40a6e2d9ee79ad5 upstream.

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.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
[bwh: Backported to 3.2:
 - Adjust filename
 - s/priv->lib/priv->cfg/]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/iwlwifi/iwl-agn.c