Roel Kluin 8ba82e969f prism54: prism54_get_encode() test below 0 on unsigned index
previously in this function:

u32 index = (dwrq->flags & IW_ENCODE_INDEX) - 1;

index is unsigned, so if -1, the original test (below) didn't work.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-04-23 21:25:36 -04:00
..
2008-02-05 09:44:23 -08:00
2008-04-18 17:55:37 +02:00
2008-04-11 12:07:05 +02:00
2008-03-15 19:17:12 -07:00
2008-03-03 10:47:13 -08:00
2008-04-17 20:05:42 +02:00
2008-02-26 14:12:09 +09:00
2008-04-23 21:25:35 -04:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-04 18:36:46 +02:00