]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ozwpan: Check error condition before creating endpoint.
authorRupesh Gujare <rupesh.gujare@atmel.com>
Thu, 22 Aug 2013 16:38:49 +0000 (17:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:15:55 +0000 (10:15 -0700)
commitbfe3a15aa08b6275c7aefe5b99ff15204023b1b4
tree1e270d507a4070f8620bfafb6ca017046e733219
parentb70a0344109393b1edbbaf9b8159931d7a5a7523
staging: ozwpan: Check error condition before creating endpoint.

Check if interface number is correct before creating an end point.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c