Stefan Schmidt 763556980d ieee802154: atusb: fix firmware version check to enable frame retries
Geert reported: as fw_ver_maj is unsigned char, gcc 4.1.2 complains:

warning: comparison is always true due to limited range of data type

Besides the warning the old check would also fail for firmware versions
like 1.x with x < 3. These would support frame retries, but the driver
would not enable the feature.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
2017-09-26 15:22:44 +02:00
..
2017-09-21 15:15:58 -07:00
2017-08-19 17:13:41 -07:00
2017-08-24 09:57:28 +02:00
2017-08-22 14:25:50 -07:00
2017-08-16 11:01:57 -07:00
2017-09-20 14:27:52 -07:00