Hi Stanislaw, On Sun, Feb 24, 2019 at 10:23 AM Stanislaw Gruszka <[email protected]> wrote: > > 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(). > > Cc: Felix Fietkau <[email protected]>, > Cc: Daniel Golle <[email protected]> > Signed-off-by: Stanislaw Gruszka <[email protected]>
Thanks for the patch. I submitted a patch doing something similar some days ago, but your fix is much nicer. FWIW: Acked-by: Kristian Evensen <[email protected]> BR, Kristian _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
