aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/rt2x00/510-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2019-02-24 10:23:18 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-02-26 22:57:32 +0100
commit426ffc563a94ca12531ff8a2df598185ba88487e (patch)
treecaf833d18b70f6c4b43f4572b4aea210c6872a21 /package/kernel/mac80211/patches/rt2x00/510-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch
parent0f89c17b578faea7374373eaf63ff91fafc1c4c6 (diff)
downloadupstream-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 'package/kernel/mac80211/patches/rt2x00/510-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch')
0 files changed, 0 insertions, 0 deletions