Skip to content
Commit c705f9fc authored by Aditya Pakki's avatar Aditya Pakki Committed by Kalle Valo
Browse files

orinoco: avoid assertion in case of NULL pointer



In ezusb_init, if upriv is NULL, the code crashes. However, the caller
in ezusb_probe can handle the error and print the failure message.
The patch replaces the BUG_ON call to error return.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent a32de68e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment