USB: smd_ctrl: Fix array index out of bounds issue

client_num is used to calculate the array index.  It is not
checked for upper bound.  Fix it.

CRs-Fixed: 492464
Change-Id: Iee5e4c307e0ac7556a4bbb9c4af7f3aceeea9cbd
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
1 file changed