hci.c (321397a49b5a1e826b749bd36b6f0cfe54c4c5c2) hci.c (d320e1232fbf70bbeeffd8270c7838fbf8395876)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

4473 hci_stack->le_advertisements_state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
4474 if ((hci_stack->le_advertisements_state & LE_ADVERTISEMENT_STATE_PARAMS_SET) != 0){
4475 hci_stack->le_advertisements_todo |= LE_ADVERTISEMENT_TASKS_SET_PARAMS;
4476 }
4477 if (hci_stack->le_advertisements_data != NULL){
4478 hci_stack->le_advertisements_todo |= LE_ADVERTISEMENT_TASKS_SET_ADV_DATA;
4479 }
4480#endif
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

4473 hci_stack->le_advertisements_state &= ~LE_ADVERTISEMENT_STATE_ACTIVE;
4474 if ((hci_stack->le_advertisements_state & LE_ADVERTISEMENT_STATE_PARAMS_SET) != 0){
4475 hci_stack->le_advertisements_todo |= LE_ADVERTISEMENT_TASKS_SET_PARAMS;
4476 }
4477 if (hci_stack->le_advertisements_data != NULL){
4478 hci_stack->le_advertisements_todo |= LE_ADVERTISEMENT_TASKS_SET_ADV_DATA;
4479 }
4480#endif
4481#ifdef ENABLE_LE_PRIVACY_ADDRESS_RESOLUTION
4482 hci_stack->le_resolving_list_state = LE_RESOLVING_LIST_SEND_ENABLE_ADDRESS_RESOLUTION;
4483#endif
4481#ifdef ENABLE_LE_ISOCHRONOUS_STREAMS
4482 hci_stack->iso_active_operation_type = HCI_ISO_TYPE_INVALID;
4483 hci_stack->iso_active_operation_group_id = HCI_ISO_GROUP_ID_INVALID;
4484#endif
4485}
4486
4487#ifdef ENABLE_CLASSIC
4488/**

--- 5455 unchanged lines hidden ---
4484#ifdef ENABLE_LE_ISOCHRONOUS_STREAMS
4485 hci_stack->iso_active_operation_type = HCI_ISO_TYPE_INVALID;
4486 hci_stack->iso_active_operation_group_id = HCI_ISO_GROUP_ID_INVALID;
4487#endif
4488}
4489
4490#ifdef ENABLE_CLASSIC
4491/**

--- 5455 unchanged lines hidden ---