From: Roel Kluin <12o3l@tiscali.nl> Date: Wed, 23 Apr 2008 19:56:49 +0000 (+0200) Subject: prism54: prism54_get_encode() test below 0 on unsigned index X-Git-Tag: v2.6.26-rc1~1088^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba82e969f71d088f718f93d64985d5fcdd9c171;p=pandora-kernel.git 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 --- Reading git-diff-tree failed