Revision b1d8e52e hw/bt-hci.c
b/hw/bt-hci.c | ||
---|---|---|
87 | 87 |
}; |
88 | 88 |
|
89 | 89 |
/* LMP layer emulation */ |
90 |
#if 0 |
|
90 | 91 |
static void bt_submit_lmp(struct bt_device_s *bt, int length, uint8_t *data) |
91 | 92 |
{ |
92 | 93 |
int resp, resplen, error, op, tr; |
... | ... | |
386 | 387 |
respdata[0] |= tr; |
387 | 388 |
} |
388 | 389 |
|
389 |
void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *data) |
|
390 |
static void bt_submit_raw_acl(struct bt_piconet_s *net, int length, uint8_t *data)
|
|
390 | 391 |
{ |
391 | 392 |
struct bt_device_s *slave; |
392 | 393 |
if (length < 1) |
... | ... | |
411 | 412 |
break; |
412 | 413 |
} |
413 | 414 |
} |
415 |
#endif |
|
414 | 416 |
|
415 | 417 |
/* HCI layer emulation */ |
416 | 418 |
|
... | ... | |
1118 | 1120 |
bt_hci_lmp_mode_change_master(hci, link, acl_active, 0); |
1119 | 1121 |
} |
1120 | 1122 |
|
1121 |
void bt_hci_reset(struct bt_hci_s *hci) |
|
1123 |
static void bt_hci_reset(struct bt_hci_s *hci)
|
|
1122 | 1124 |
{ |
1123 | 1125 |
hci->acl_len = 0; |
1124 | 1126 |
hci->last_cmd = 0; |
Also available in: Unified diff