ath9k: Fix MCI cleanup
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 6 Jul 2012 14:39:16 +0000 (20:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:37 +0000 (16:36 -0400)
commitdd89f05a7572684bbbc1483c60418504cc91cfe6
treef5311afb91755a0fc53d000c6ca3681ebd016cea
parent3d9d8af330a891f141db420115238f01e4c6ece7
ath9k: Fix MCI cleanup

We are doing MCI cleanup eventhough BTCOEX is not enabled
via module parameter. This means we do ath_mci_cleanup
though we skipped calling ath_mci_setup. Yet it does not
causes any issues now  as we free the DMA buffer allocated
only when it is allocated during ath_mci_setup.

Reviewed-by: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/gpio.c