staging: rtl8712: Fix oops on dongle removal if firmware is not available
authorThomas Vegas <thomas@grouk.net>
Sun, 1 Jun 2014 12:34:39 +0000 (14:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 23:40:07 +0000 (16:40 -0700)
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: Thomas Vegas <thomas@grouk.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found