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
..
2006-12-02 00:11:57 -05:00
2008-01-28 15:09:08 -08:00
2006-12-02 00:11:57 -05:00
2008-01-28 15:09:08 -08:00
2008-01-28 15:09:08 -08:00
2007-07-11 16:02:11 -07:00
2008-01-28 15:09:08 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00