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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 15 May 2014 07:56:02 +0000 (09:56 +0200)
commit02f079bf44c85322a0383d6e0e10fe5752f61595
tree4fde3f5993afc96c1830f805e2a2464adb887ab5
parent1b18c1cf7f64cfa8a7c5cdfc3f364b4280b15660
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: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/dvm/main.c