|
@@ -601,12 +601,17 @@ static int intel_setup(struct hci_uart *hu)
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
- /* At the moment only the hardware variant iBT 3.0 (LnP/SfP) is
|
|
|
- * supported by this firmware loading method. This check has been
|
|
|
- * put in place to ensure correct forward compatibility options
|
|
|
- * when newer hardware variants come along.
|
|
|
- */
|
|
|
- if (ver.hw_variant != 0x0b) {
|
|
|
+ /* Check for supported iBT hardware variants of this firmware
|
|
|
+ * loading method.
|
|
|
+ *
|
|
|
+ * This check has been put in place to ensure correct forward
|
|
|
+ * compatibility options when newer hardware variants come along.
|
|
|
+ */
|
|
|
+ switch (ver.hw_variant) {
|
|
|
+ case 0x0b: /* LnP */
|
|
|
+ case 0x0c: /* WsP */
|
|
|
+ break;
|
|
|
+ default:
|
|
|
bt_dev_err(hdev, "Unsupported Intel hardware variant (%u)",
|
|
|
ver.hw_variant);
|
|
|
return -EINVAL;
|