From: Dan Williams <dcbw@redhat.com>
To: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
libertas-dev@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH RFC 1/3] libertas_spi: cancel packet work on module removal
Date: Thu, 07 Apr 2011 16:43:59 -0500 [thread overview]
Message-ID: <1302212641.17586.1.camel@dcbw.foobar.com> (raw)
In-Reply-To: <1302207960-28536-2-git-send-email-anarsoul@gmail.com>
On Thu, 2011-04-07 at 23:25 +0300, Vasily Khoruzhick wrote:
> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Dan Williams <dcbw@redhat.com>
> ---
> drivers/net/wireless/libertas/if_spi.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/libertas/if_spi.c b/drivers/net/wireless/libertas/if_spi.c
> index 078ef43..d893560 100644
> --- a/drivers/net/wireless/libertas/if_spi.c
> +++ b/drivers/net/wireless/libertas/if_spi.c
> @@ -1195,6 +1195,7 @@ static int __devexit libertas_spi_remove(struct spi_device *spi)
> lbs_remove_card(priv); /* will call free_netdev */
>
> free_irq(spi->irq, card);
> + cancel_work_sync(&card->packet_work);
> flush_workqueue(card->workqueue);
> destroy_workqueue(card->workqueue);
> if (card->pdata->teardown)
next prev parent reply other threads:[~2011-04-07 21:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 20:25 [PATCH RFC 0/3] libertas: powersave fixes Vasily Khoruzhick
2011-04-07 20:25 ` [PATCH RFC 1/3] libertas_spi: cancel packet work on module removal Vasily Khoruzhick
2011-04-07 21:43 ` Dan Williams [this message]
2011-04-07 20:25 ` [PATCH RFC 2/3] libertas: add set_power callback for iface subdrivers Vasily Khoruzhick
2011-04-07 22:35 ` Dan Williams
2011-04-08 9:54 ` Alberto Panizzo
2011-04-08 11:42 ` Vasily Khoruzhick
2011-04-08 9:10 ` Alberto Panizzo
2011-04-08 9:36 ` Vasily Khoruzhick
2011-04-08 10:23 ` Alberto Panizzo
2011-04-08 11:30 ` Vasily Khoruzhick
2011-04-07 20:26 ` [PATCH RFC 3/3] libertas_spi: introduce set_power callback Vasily Khoruzhick
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=1302212641.17586.1.camel@dcbw.foobar.com \
--to=dcbw@redhat.com \
--cc=anarsoul@gmail.com \
--cc=libertas-dev@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.