File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2148,7 +2148,7 @@ static void btintel_get_fw_name_tlv(const struct intel_version_tlv *ver,
2148
2148
/* Only Blazar product supports downloading of intermediate loader
2149
2149
* image
2150
2150
*/
2151
- if ((ver -> cnvi_top & 0xfff ) >= BTINTEL_CNVI_BLAZARI ) {
2151
+ if (INTEL_HW_VARIANT (ver -> cnvi_bt ) >= 0x1e ) {
2152
2152
u8 zero [BTINTEL_FWID_MAXLEN ];
2153
2153
2154
2154
if (ver -> img_type == BTINTEL_IMG_BOOTLOADER ) {
@@ -2240,7 +2240,7 @@ static int btintel_prepare_fw_download_tlv(struct hci_dev *hdev,
2240
2240
* firmware image which doesn't exist. Lets compare the version
2241
2241
* of IML image
2242
2242
*/
2243
- if ((ver -> cnvi_top & 0xfff ) >= BTINTEL_CNVI_BLAZARI )
2243
+ if (INTEL_HW_VARIANT (ver -> cnvi_bt ) >= 0x1e )
2244
2244
btintel_get_iml_tlv (ver , fwname , sizeof (fwname ), "sfi" );
2245
2245
else
2246
2246
btintel_get_fw_name_tlv (ver , fwname , sizeof (fwname ), "sfi" );
You can’t perform that action at this time.
0 commit comments