From: Johan Hedberg Date: Tue, 8 Nov 2011 18:40:15 +0000 (+0200) Subject: Bluetooth: Move pending management command list into struct hci_dev X-Git-Tag: v3.3-rc1~182^2~545^2~134^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e58ef3e11d0775795345a20185b5a7c4bdae194;p=pandora-kernel.git Bluetooth: Move pending management command list into struct hci_dev This patch moves the pending management command list (previously global to mgmt.c) into struct hci_dev. This makes it possible to do proper locking when accessing it (through the existing hci_dev locks) and thereby avoid race conditions. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed