]> 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)
commite13741e9650139904f5c614428b1f2e724d2ee19
treed4916beace6595c4f5746244cd844cdaa444589c
parente7e928aab2448220c7206fec150badf6c296f1d4
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