]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Fix error handling if rtl8xxxu_init_device() fails
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 19 Aug 2016 21:46:25 +0000 (17:46 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 16:57:10 +0000 (19:57 +0300)
commitd0319960915067a99a70eda163ef4b78b21ed5b1
treec87a9645ae9c4f1fbc525f14c736eb08351b3036
parentc9077b15ab159cbad22e7064b423eae09f66bb19
rtl8xxxu: Fix error handling if rtl8xxxu_init_device() fails

For some reason we lost the code bailing if rtl8xxxu_init_device()
returned an error.

This catches the error and also cleans up the error handling.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c