staging: wlags49_h2: fix error handling in pcmcia probe function
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 23 Apr 2013 23:27:39 +0000 (19:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 21:50:06 +0000 (17:50 -0400)
commit657d4c86d4cd85a4696445f6fb2fe0941a5724ff
treee5650cce8ab3f4f466ecbdf5fed7271471a7a5d0
parentd1d2f83f850e7d57a220fa2c7ce7f0bd5ed6c16d
staging: wlags49_h2: fix error handling in pcmcia probe function

wl_adapter_attach() ignores some important issues
such as register_netdev() failure. The patch fixes it.

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/wlags49_h2/wl_cs.c
drivers/staging/wlags49_h2/wl_cs.h