ath9k: Handle errors properly in MCI initialization
authorSujith Manoharan <c_manoha@qualcomm.com>
Wed, 26 Sep 2012 02:24:43 +0000 (07:54 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:02 +0000 (13:54 -0400)
commit69c6ac60f559f85ed47fbfc2bcaa43a7bc1583ff
tree0e79bbd4216083c04373409c9ff25c4864556dca
parenta549459c96ba99a691aa1cafeabdd327a7a2bfcf
ath9k: Handle errors properly in MCI initialization

The MCI initialization path has various points of failures,
handle these to ensure that we bail out correctly in such
cases.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_mci.c
drivers/net/wireless/ath/ath9k/ar9003_mci.h
drivers/net/wireless/ath/ath9k/mci.c