Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a479c1ba authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

usb: android: Fix bug in ECM bind



The gether_setup_name() function returns the error as pointer. The
current code is checking the return value against NULL and failing
ECM bind for the success case. Use IS_ERR() to check the return
value.

Change-Id: I32d546a92fd91a6c63ea73df33ae0ee5ef702243
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent e3771b62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment