idualwifi7260: Merge fix to firmware loading from FreeBSD.
Fixes #14298.
This commit is contained in:
parent
969aecd624
commit
9f8ad6a31a
@ -626,7 +626,7 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode_type ucode_type)
|
|||||||
goto parse_out;
|
goto parse_out;
|
||||||
}
|
}
|
||||||
len -= roundup2(tlv_len, 4);
|
len -= roundup2(tlv_len, 4);
|
||||||
data += sizeof(tlv) + roundup2(tlv_len, 4);
|
data += sizeof(*tlv) + roundup2(tlv_len, 4);
|
||||||
|
|
||||||
switch ((int)tlv_type) {
|
switch ((int)tlv_type) {
|
||||||
case IWM_UCODE_TLV_PROBE_MAX_LEN:
|
case IWM_UCODE_TLV_PROBE_MAX_LEN:
|
||||||
|
Loading…
Reference in New Issue
Block a user