commit | 1ca3a9d06e87e09d2f852397f1fbf7c442c921b5 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Mar 05 20:37:45 2013 +0200 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Fri Mar 08 10:40:26 2013 -0300 |
tree | ace541f7bc9f195853064c9e50d2512b2fb01e9b | |
parent | 3119ae9599e5cdc1b9838563905c500b582ab6a5 [diff] |
Bluetooth: Refactor HCI command skb creation This patch moves out the skb creation from hci_send_cmd() into its own prepare_cmd() function. This is essential so the same prepare_cmd() function can be easily reused for skb creation for asynchronous HCI requests. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>