Skip to content
Commit 5947956b authored by Thomas Vegas's avatar Thomas Vegas Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Fix oops on dongle removal if firmware is not available



When firmware is not available, net device is not created. Upon
disconnect, we must check for net device existence before trying to
release net device private data.

Signed-off-by: default avatarThomas Vegas <thomas@grouk.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c3ddb3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment