From: Ivo van Doorn Date: Mon, 22 Sep 2008 17:40:04 +0000 (+0200) Subject: rt2x00: Fix HW crypto key handling X-Git-Tag: v2.6.28-rc1~717^2~172^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acaf908d408ccd49f13aeb46cbd4428a4db174d1;p=pandora-kernel.git rt2x00: Fix HW crypto key handling When a crypto key is being removed, rt2x00mac should not reset the key->hw_key_idx value because that will prevent the driver from removing the correct key from the hardware. Furthermore ffz() starts counting at 0 instead of 1, so we don't need to substract 1 from the resulting value. Signed-off-by: Stephen Blackheath Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed