rtlwifi: rtl8192de: Fix error exit from hw_init
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 1 Jul 2011 13:56:11 +0000 (08:56 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:26:55 +0000 (15:26 -0400)
commit45a771385ceb644941b195f37ab98f7db39776bd
treec3b42f77d0aa67b3b64e6550b09cd2e3b9e8c04b
parenteb8b27ada953f8de182e628d71feff797707768a
rtlwifi: rtl8192de: Fix error exit from hw_init

In routine rtl92de_hw_init(), there are two places where a failure is
not handled correctly.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192de/hw.c