]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56459e8fc55a4511ac254f0bdce8aacf668164a3
treeec1026e862031da7f8176ff479ced2d8b91a7097
parentd3b2c5ba05c1bdf228243f377ee890231f8ffad5
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: Thomas Vegas <thomas@grouk.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/usb_intf.c