commit | 2e58ef3e11d0775795345a20185b5a7c4bdae194 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Nov 08 20:40:15 2011 +0200 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Wed Nov 09 12:33:39 2011 -0200 |
tree | 3187787dd2693ad0c43fb3e3c7f5ec959c7713e7 | |
parent | 744cf19eadcf4de914394e0eb227f94f4318f5e4 [diff] |
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 <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>