Please sign in to comment.
mac80211: rt2x00: fix crash on release_firmware
Fix crash due to passing invalid r2x00dev->eeprom_file pointer to release_firmware(). Since we copy eeprom data with EEPROM_SIZE in rt2800_read_eeprom() we can use eeprom_file->size as marker if the file was crated by request_firmware(). Acked-by: Kristian Evensen <firstname.lastname@example.org> Signed-off-by: Stanislaw Gruszka <email@example.com>
- Loading branch information...
Showing with 5 additions and 5 deletions.