iwlwifi: dvm: take mutex when sending SYNC BT config command
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 10 Mar 2014 13:22:03 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 May 2014 11:32:51 +0000 (13:32 +0200)
commit7319b51324e28288818722e4e808edbdc0b764ea
treee747fe13e02a25480b505e83ab51e9d4414839e5
parentd3a35e0d3fd38e66fb66ebf04f5de89d70da26c6
iwlwifi: dvm: take mutex when sending SYNC BT config command

commit 82e5a649453a3cf23516277abb84273768a1592b upstream.

There is a flow in which we send the host command in SYNC
mode, but we don't take priv->mutex.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1046495

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/dvm/main.c