]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: harden-up exit paths
authorDaniel Drake <dsd@laptop.org>
Mon, 16 Apr 2012 22:53:02 +0000 (23:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Apr 2012 18:57:14 +0000 (14:57 -0400)
commit418aba18fdc7dcc4693d52d9d5c7067bf366ffee
treed4916beace6595c4f5746244cd844cdaa444589c
parent5b3a37a157039bcb417bac076676a6c92a689378
libertas: harden-up exit paths

These simple sanity check avoids extra complexity in error paths when
moving to asynchronous firmware loading (which means the device may fail to
init some time after its creation).

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c