From: James Minor <james.minor@ni.com>
To: linux-wireless@vger.kernel.org, ath6kl@lists.infradead.org
Cc: kvalo@qca.qualcomm.com, julia.cartwright@ni.com,
steve.derosier@lairdtech.com, James Minor <james.minor@ni.com>
Subject: [PATCH 2/3] ath6kl: after cleanup properly reflect that sg is disabled
Date: Mon, 3 Oct 2016 13:00:03 -0500 [thread overview]
Message-ID: <1475517604-17710-3-git-send-email-james.minor@ni.com> (raw)
In-Reply-To: <1475517604-17710-1-git-send-email-james.minor@ni.com>
This allows the hardware to be restarted, as it will cause the
sg to be reinitialized.
Signed-off-by: James Minor <james.minor@ni.com>
Reviewed-by: Steve deRosier <steve.derosier@lairdtech.com>
---
drivers/net/wireless/ath/ath6kl/sdio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c
index 96ed060..8261e24 100644
--- a/drivers/net/wireless/ath/ath6kl/sdio.c
+++ b/drivers/net/wireless/ath/ath6kl/sdio.c
@@ -714,6 +714,8 @@ static void ath6kl_sdio_cleanup_scatter(struct ath6kl *ar)
spin_lock_bh(&ar_sdio->scat_lock);
}
spin_unlock_bh(&ar_sdio->scat_lock);
+
+ ar_sdio->scatter_enabled = false;
}
/* setup of HIF scatter resources */
--
1.9.1
next prev parent reply other threads:[~2016-10-03 18:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1475510510-16906-1-git-send-email-james.minor@ni.com>
2016-10-03 18:00 ` [PATCH 0/3] Allow ath6kl to be restarted James Minor
2016-10-03 18:00 ` [PATCH 1/3] ath6kl: fix busreqs so they can be reused when sg is cleaned up James Minor
2016-10-06 7:15 ` [1/3] " Kalle Valo
2016-10-03 18:00 ` James Minor [this message]
2016-10-03 18:00 ` [PATCH 3/3] ath6kl: configure SDIO when power is reapplied James Minor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475517604-17710-3-git-send-email-james.minor@ni.com \
--to=james.minor@ni.com \
--cc=ath6kl@lists.infradead.org \
--cc=julia.cartwright@ni.com \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=steve.derosier@lairdtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox