diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-03 09:48:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:28 -0500 |
commit | 9404ef34e4747228717d6e22ce3827ed366ccf41 (patch) | |
tree | 90f4a51af46519e42dcd638a3344ee664db539ec /drivers/net/wireless/rt2x00/rt61pci.c | |
parent | adfdbb79c06154cd3cc7b5983106ace324aa3b02 (diff) |
rt2x00: Driver requiring firmware should select crc algo
The driver should select what CRC algorithm is required
when performing a checksum on the firmware.
rt61pci & rt73usb require crc-itu-t
rt2800pci & rt2800usb require crc-ccitt
Legacy 2800pci/usb driver uses crc-itu-t + bit order reversion,
but that is just inefficient especially since the end result is
the same as a different algorithm which is also available as library. ;)
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 5e08541958c..b5ab771bbac 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2258,9 +2258,10 @@ static int rt61pci_probe_hw(struct rt2x00_dev *rt2x00dev) | |||
2258 | rt61pci_probe_hw_mode(rt2x00dev); | 2258 | rt61pci_probe_hw_mode(rt2x00dev); |
2259 | 2259 | ||
2260 | /* | 2260 | /* |
2261 | * This device requires firmware | 2261 | * This device requires firmware. |
2262 | */ | 2262 | */ |
2263 | __set_bit(DRIVER_REQUIRE_FIRMWARE, &rt2x00dev->flags); | 2263 | __set_bit(DRIVER_REQUIRE_FIRMWARE, &rt2x00dev->flags); |
2264 | __set_bit(DRIVER_REQUIRE_FIRMWARE_CRC_ITU_T, &rt2x00dev->flags); | ||
2264 | 2265 | ||
2265 | /* | 2266 | /* |
2266 | * Set the rssi offset. | 2267 | * Set the rssi offset. |