From: Kalle Valo Date: Thu, 27 Oct 2011 15:48:22 +0000 (+0300) Subject: ath6kl: add a fixme to ath6kl_htc_wait_target() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4e3d54c7abcaad35062540432ba5b72bf27876aa;p=openwrt%2Fstaging%2Fblogic.git ath6kl: add a fixme to ath6kl_htc_wait_target() This doesn't look right, but investigate it later. Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index 976e3527c498..d03456bcb8ba 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.c +++ b/drivers/net/wireless/ath/ath6kl/htc.c @@ -2598,6 +2598,10 @@ int ath6kl_htc_wait_target(struct htc_target *target) status = ath6kl_htc_conn_service((void *)target, &connect, &resp); if (status) + /* + * FIXME: this call doesn't make sense, the caller should + * call ath6kl_htc_cleanup() when it wants remove htc + */ ath6kl_hif_cleanup_scatter(target->dev->ar); fail_wait_target: