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)
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>

No differences found