rt2x00: Restrict firmware file lengths
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 23 Jan 2009 16:03:24 +0000 (17:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:26 +0000 (16:01 -0500)
Add extra security to the drivers for firmware loading,
check the firmware file length before uploading it to
the hardware. Incorrect lengths might indicate a firmware
upgrade (which is not yet supported by the driver) or
otherwise incorrect firmware.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found