libertas sdio: claim device before calling sdio_disable_func()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Mon, 18 Nov 2013 21:45:08 +0000 (01:45 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:56:24 +0000 (14:56 -0500)
commiteddc633a3abcffbbe2fb1eb460670f0c63b11211
treeaa82664889dff06ea5cfe1cc95f66af7e2d8894f
parent18a7424f8c76ff7acdda49e4346571cc2a69b7f9
libertas sdio: claim device before calling sdio_disable_func()

There is a failure path in if_sdio_power_on(), where
sdio_disable_func() is called without claiming the device.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_sdio.c