staging: vt6656: don't return zero on failure path in vt6656_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 13 Mar 2015 22:34:41 +0000 (01:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:41:38 +0000 (13:41 +0100)
commit20ff1418d3936f76df24f5694c6b5eb9179a565f
treeaaadeaf962a11850c3f17787b52c1ab092b914fd
parenta1c6dcda80f6dbb3e9b78809235695e8828994f9
staging: vt6656: don't return zero on failure path in vt6656_probe()

If ieee80211_alloc_hw() fails in vt6656_probe(), it breaks off
initialization, but returns zero.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c