• Andre Przywara's avatar
    fel: Skip uploading empty image · f917e69d
    Andre Przywara authored
    
    
    Our FEL code does not deal very well with the upload size being 0.
    
    Check for that before calling any USB routines, and skip the call
    entirely. Mark the buffer as "const" on the way, since we have no
    business other than reading from it.
    
    That helps to properly skip dummy images later.
    Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
    f917e69d
fel_lib.h 3.08 KB