uwb: handle radio controller events with out-of-range IDs correctly
authorDavid Vrabel <david.vrabel@csr.com>
Tue, 25 Aug 2009 14:03:07 +0000 (15:03 +0100)
committerDavid Vrabel <david.vrabel@csr.com>
Tue, 25 Aug 2009 14:03:07 +0000 (15:03 +0100)
commit3fafdd7cc810a8fcd28b83fbde2d0e25830dee41
treead01860283a1ac1a05759a39834fa0b56683f4aa
parent7c0a57d5c47bcfc492b3139e77400f888a935c44
uwb: handle radio controller events with out-of-range IDs correctly

If a radio controller event has an ID that's just out of range don't
read beyond the end of uwbd's event arrays.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/uwbd.c