]> 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)
commitacf22b6fcd92dc263cafad47ed9b6632e6fe9791
treec87a9645ae9c4f1fbc525f14c736eb08351b3036
parenta0dea21a0f3654da4806e4530a445ab872bca6f1
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