Home
last modified time | relevance | path

Searched refs:chk_desc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dfw.c136 const struct carl9170fw_chk_desc *chk_desc; in carl9170_fw_checksum() local
154 chk_desc = carl9170_fw_find_desc(ar, CHK_MAGIC, in carl9170_fw_checksum()
155 sizeof(*chk_desc), CARL9170FW_CHK_DESC_CUR_VER); in carl9170_fw_checksum()
157 if (!chk_desc) { in carl9170_fw_checksum()
163 (unsigned long)chk_desc - (unsigned long)otus_desc); in carl9170_fw_checksum()
175 if (cpu_to_le32(crc32) != chk_desc->fw_crc32) { in carl9170_fw_checksum()
181 if (cpu_to_le32(crc32) != chk_desc->hdr_crc32) { in carl9170_fw_checksum()