|
@@ -111,27 +111,6 @@ static int inject_cmd_complete(struct hci_dev *hdev, __u16 opcode)
|
|
|
return hci_recv_frame(hdev, skb);
|
|
|
}
|
|
|
|
|
|
-static void intel_version_info(struct hci_dev *hdev,
|
|
|
- struct intel_version *ver)
|
|
|
-{
|
|
|
- const char *variant;
|
|
|
-
|
|
|
- switch (ver->fw_variant) {
|
|
|
- case 0x06:
|
|
|
- variant = "Bootloader";
|
|
|
- break;
|
|
|
- case 0x23:
|
|
|
- variant = "Firmware";
|
|
|
- break;
|
|
|
- default:
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- BT_INFO("%s: %s revision %u.%u build %u week %u %u", hdev->name,
|
|
|
- variant, ver->fw_revision >> 4, ver->fw_revision & 0x0f,
|
|
|
- ver->fw_build_num, ver->fw_build_ww, 2000 + ver->fw_build_yy);
|
|
|
-}
|
|
|
-
|
|
|
static int intel_setup(struct hci_uart *hu)
|
|
|
{
|
|
|
static const u8 reset_param[] = { 0x00, 0x01, 0x00, 0x01,
|
|
@@ -205,7 +184,7 @@ static int intel_setup(struct hci_uart *hu)
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- intel_version_info(hdev, ver);
|
|
|
+ btintel_version_info(hdev, ver);
|
|
|
|
|
|
/* The firmware variant determines if the device is in bootloader
|
|
|
* mode or is running operational firmware. The value 0x06 identifies
|