commit | 2922a94fcc04f26aee1b279d38e93d4a5c295f25 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Dec 05 13:36:06 2014 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Dec 05 12:46:10 2014 +0100 |
tree | 95150dd2b1ccc0720af11cd13da7c3be4f9beba4 | |
parent | d8b7b1e49abe98d67f589d6326658a48d810f875 [diff] |
Bluetooth: Convert discovery commands to use cmd_complete callback This patch converts the Start/Stop Discovery mgmt commands to use the cmd_complete callback of struct pending_cmd. Since both of these commands return the same parameters as they take as input we can use the existing generic_cmd_complete() helper for this. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>