Bluetooth: controller: split: Use define instead of magic number

Use HCI Error Code define instead of magic number.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2019-12-26 16:14:36 +05:30 committed by Alberto Escolar
commit 4f42baa43d

View file

@ -1183,7 +1183,7 @@ static void disabled_cb(void *param)
cc = (void *)rx->pdu; cc = (void *)rx->pdu;
memset(cc, 0x00, sizeof(struct node_rx_cc)); memset(cc, 0x00, sizeof(struct node_rx_cc));
cc->status = 0x3c; cc->status = BT_HCI_ERR_ADV_TIMEOUT;
ftr = &(rx->hdr.rx_ftr); ftr = &(rx->hdr.rx_ftr);
ftr->param = param; ftr->param = param;