From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Mon, 10 Jun 2013 19:57:56 +0300 Subject: [ath9k-devel] [PATCH 04/10] ath10k: reset BMI state upon init In-Reply-To: <1370514361-15858-5-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Thu, 6 Jun 2013 12:25:55 +0200") References: <1370514361-15858-1-git-send-email-michal.kazior@tieto.com> <1370514361-15858-5-git-send-email-michal.kazior@tieto.com> Message-ID: <878v2hucmj.fsf@kamboji.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Michal Kazior writes: > This is necessary if we want to be able to restart > hw on-the-fly. > > Signed-off-by: Michal Kazior > --- > drivers/net/wireless/ath/ath10k/core.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c > index 87d6536..911d41e 100644 > --- a/drivers/net/wireless/ath/ath10k/core.c > +++ b/drivers/net/wireless/ath/ath10k/core.c > @@ -508,6 +508,8 @@ int ath10k_core_init(struct ath10k *ar) > struct bmi_target_info target_info; > int status; > > + ar->bmi.done_sent = false; We should do this in ath10k_bmi_start() so that all BMI related code is in bmi.c. -- Kalle Valo