Searched refs:ulfilelength (Results 1 – 1 of 1) sorted by relevance
136 static u8 chk_fwhdr(struct fw_hdr *pfwhdr, u32 ulfilelength) in chk_fwhdr() argument150 if (fw_sz != ulfilelength) in chk_fwhdr()163 u32 ulfilelength; /* FW file size */ in rtl8712_dl_fw() local170 ulfilelength = rtl871x_open_fw(adapter, &mappedfw); in rtl8712_dl_fw()171 if (mappedfw && (ulfilelength > 0)) { in rtl8712_dl_fw()173 if (chk_fwhdr(&fwhdr, ulfilelength) == _FAIL) in rtl8712_dl_fw()