mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 08:44:38 +08:00
emulator: Minor coding style fix
This commit is contained in:
parent
fa34a2dc71
commit
0e6b13b702
@ -874,9 +874,10 @@ failed:
|
||||
|
||||
static void inquiry_cancel(struct btdev *btdev)
|
||||
{
|
||||
uint8_t status = BT_HCI_ERR_COMMAND_DISALLOWED;
|
||||
uint8_t status;
|
||||
|
||||
if (!btdev->inquiry_id) {
|
||||
status = BT_HCI_ERR_COMMAND_DISALLOWED;
|
||||
cmd_complete(btdev, BT_HCI_CMD_INQUIRY_CANCEL, &status,
|
||||
sizeof(status));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user