Commit 0c61107a authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: diag: Do not access all the channels from set_alt handler



Access contexts of only that diag channel for which set_alt is
called. Otherwise, it might result in driver wrongly trying to
access a channel which is not included in the composition.

Change-Id: I3380d710bb372d0e4377300f44322c0866be1bcc
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 9574af94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment