rt2x00: Validate firmware in driver
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 27 Jan 2009 23:33:47 +0000 (00:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:35 +0000 (15:03 -0500)
commit0cbe0064614ace61e08618948f82c6d525e75017
treedc6f68d5da42ab6ada2fab2bd4e5fecfa6f1ed8c
parenta2c9b652a12a550d3d8509e9bae43bac396c5076
rt2x00: Validate firmware in driver

The get_firmware_crc() callback function isn't flexible
enough when dealing with multiple firmware versions.
It might in some cases be possible that the firmware
file contains multiple CRC checksums.

Create the check_firmware() callback function where the driver
has complete freedom in how to validate the firmware.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00firmware.c
drivers/net/wireless/rt2x00/rt2x00reg.h
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c