hci.c (6bcfa63272b7690f07e9d8ca8825fdfb1ee368f2) | hci.c (f7e6a692b06881b7fa1f3f5229e8035f9d8382d0) |
---|---|
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 --- 2417 unchanged lines hidden (view full) --- 2426 memset(hci_stack->outgoing_addr, 0, 6); 2427 hci_stack->outgoing_addr_type = BD_ADDR_TYPE_UNKNOWN; 2428 2429 // on error 2430 if (status != ERROR_CODE_SUCCESS){ 2431#ifdef ENABLE_LE_CENTRAL 2432 if (hci_is_le_connection_type(addr_type)){ 2433 hci_stack->le_connecting_state = LE_CONNECTING_IDLE; | 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 --- 2417 unchanged lines hidden (view full) --- 2426 memset(hci_stack->outgoing_addr, 0, 6); 2427 hci_stack->outgoing_addr_type = BD_ADDR_TYPE_UNKNOWN; 2428 2429 // on error 2430 if (status != ERROR_CODE_SUCCESS){ 2431#ifdef ENABLE_LE_CENTRAL 2432 if (hci_is_le_connection_type(addr_type)){ 2433 hci_stack->le_connecting_state = LE_CONNECTING_IDLE; |
2434 hci_stack->le_connecting_request = LE_CONNECTING_IDLE; |
|
2434 } 2435#endif 2436 // error => outgoing connection failed 2437 if (conn != NULL){ 2438 hci_handle_connection_failed(conn, status); 2439 } 2440 } 2441 } --- 4189 unchanged lines hidden --- | 2435 } 2436#endif 2437 // error => outgoing connection failed 2438 if (conn != NULL){ 2439 hci_handle_connection_failed(conn, status); 2440 } 2441 } 2442 } --- 4189 unchanged lines hidden --- |