usb: diag: Add NULL pointer check after ep_autoconfig
ep_autoconfig api can fail and return null endpoint. Add a
null pointer check after ep_auotconfig
Signed-off-by:
Vamsi Krishna <vskrishn@codeaurora.org>
Loading
Please sign in to comment