diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-17 15:15:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-26 16:40:14 -0700 |
commit | 7bb7a0dd0031031e1bd5d41cbcd992ab925eaca1 (patch) | |
tree | 29f25024fdea87fe728551cf58f10165b452b4e2 /crypto/arc4.c | |
parent | 38cebc0e22ee07f456f99401c559bb621e370e64 (diff) |
USB: io_ti: check firmware version before updating
commit 0827a9ff2bbcbb03c33f1a6eb283fe051059482c upstream.
If we can't read the firmware for a device from the disk, and yet the
device already has a valid firmware image in it, we don't want to
replace the firmware with something invalid. So check the version
number to be less than the current one to verify this is the correct
thing to do.
Reported-by: Chris Beauchamp <chris@chillibean.tv>
Tested-by: Chris Beauchamp <chris@chillibean.tv>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions