diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-02-24 10:23:18 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-02-26 22:57:32 +0100 |
commit | 426ffc563a94ca12531ff8a2df598185ba88487e (patch) | |
tree | caf833d18b70f6c4b43f4572b4aea210c6872a21 /tools/squashfs | |
parent | 0f89c17b578faea7374373eaf63ff91fafc1c4c6 (diff) | |
download | upstream-426ffc563a94ca12531ff8a2df598185ba88487e.tar.gz upstream-426ffc563a94ca12531ff8a2df598185ba88487e.tar.bz2 upstream-426ffc563a94ca12531ff8a2df598185ba88487e.zip |
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 <kristian.evensen@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'tools/squashfs')
0 files changed, 0 insertions, 0 deletions