hci_sync.c (941c998b42f5c90384f49da89a6e11233de567cf) hci_sync.c (b938790e70540bf4f2e653dcd74b232494d06c8f)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * BlueZ - Bluetooth protocol stack for Linux
4 *
5 * Copyright (C) 2021 Intel Corporation
6 * Copyright 2023 NXP
7 */
8

--- 5060 unchanged lines hidden (view full) ---

5069 hci_dev_clear_volatile_flags(hdev);
5070
5071 /* Controller radio is available but is currently powered down */
5072 hdev->amp_status = AMP_STATUS_POWERED_DOWN;
5073
5074 memset(hdev->eir, 0, sizeof(hdev->eir));
5075 memset(hdev->dev_class, 0, sizeof(hdev->dev_class));
5076 bacpy(&hdev->random_addr, BDADDR_ANY);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * BlueZ - Bluetooth protocol stack for Linux
4 *
5 * Copyright (C) 2021 Intel Corporation
6 * Copyright 2023 NXP
7 */
8

--- 5060 unchanged lines hidden (view full) ---

5069 hci_dev_clear_volatile_flags(hdev);
5070
5071 /* Controller radio is available but is currently powered down */
5072 hdev->amp_status = AMP_STATUS_POWERED_DOWN;
5073
5074 memset(hdev->eir, 0, sizeof(hdev->eir));
5075 memset(hdev->dev_class, 0, sizeof(hdev->dev_class));
5076 bacpy(&hdev->random_addr, BDADDR_ANY);
5077 hci_codec_list_clear(&hdev->local_codecs);
5077
5078 hci_dev_put(hdev);
5079 return err;
5080}
5081
5082/* This function perform power on HCI command sequence as follows:
5083 *
5084 * If controller is already up (HCI_UP) performs hci_powered_update_sync

--- 1484 unchanged lines hidden ---
5078
5079 hci_dev_put(hdev);
5080 return err;
5081}
5082
5083/* This function perform power on HCI command sequence as follows:
5084 *
5085 * If controller is already up (HCI_UP) performs hci_powered_update_sync

--- 1484 unchanged lines hidden ---