]> git.karo-electronics.de Git - karo-tx-linux.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)
commit30bd5726730e374a81c9e677d1a5ba2cf8f94a7c
treef359e239602838dd8f350e5b72023615a27eab33
parent9b1ce526eb917c8b5c8497c327768130ee683392
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