net: rmnet_usb: Fix probe error path
The probe() error path frees the net device before unregistering
it. This is resulting in a BUG. Call usbnet_disconnect() in
error path.
CRs-Fixed: 478213
Change-Id: I85b5c72dc50c649846439bc997dda1fcb968a197
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment