summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/init.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-11-03 11:53:57 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:59:00 +0200
commitcf97fa9fdf145bff2a0117d2ead4a92b132f69f6 (patch)
tree9775c745b63ece98954a9ff748a918d457456eb9 /drivers/net/wireless/ath/ath6kl/init.c
parent11f6e40d9f21767a9090e4e559d3c63edf25e6c0 (diff)
ath6kl: don't power down hardware when interface is down
Jouni reported that my patch "ath6kl: power down hardware when interface is down" caused a regression on his x86 boxes and scan didn't work anymore. I was able to reproduce the problem by disabling all debug messages. So there has to be a race condition somewhere in the code and disable the functionality until the race is fixed. Now hardware is powered from the point where module is loaded until it's removed. Reported-by: Jouni Malinen <jouni@qca.qualcomm.com> Tested-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/init.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index bb2254d3b43..abc1d8ea7f5 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1613,12 +1613,6 @@ int ath6kl_core_init(struct ath6kl *ar)
*/
memcpy(ndev->dev_addr, ar->mac_addr, ETH_ALEN);
- ret = ath6kl_init_hw_stop(ar);
- if (ret) {
- ath6kl_err("Failed to stop hardware: %d\n", ret);
- goto err_htc_cleanup;
- }
-
return ret;
err_rxbuf_cleanup: