]> git.baikalelectronics.ru Git - kernel.git/commit
airo: Reorder tests, check bounds before element
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 26 Oct 2009 14:28:11 +0000 (15:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:29:49 +0000 (16:29 -0400)
commit69a5faa5390dc3c906fc9070466c3ec2e40b47b9
treef359e239602838dd8f350e5b72023615a27eab33
parent35fafa4117340e39feb885ab26d94a4bf216a96a
airo: Reorder tests, check bounds before element

Test whether index is within bounds before reading the element

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c