Commit b44169ab authored by Anji jonnala's avatar Anji jonnala
Browse files

usb: frmnet: fix the NULL pointer access crash by using global rmnet dev



Transport_store function is trying to access the rmnet usb_function
from struct device pointer and ending up in retreiving the false
rmnet dev pointer as struct device pointer won't be having
rmnet usb_function.
Fix this by using the global rmnet dev pointer.

Change-Id: I8be5ba3ca4315a48ed956a29186f54ae6d6c2674
Signed-off-by: default avatarAnji jonnala <anjir@codeaurora.org>
parent 544a005d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment