Linux wireless drivers development
 help / color / mirror / Atom feed
From: Michael Wu <flamingice@sourmilk.net>
To: Jiri Benc <jbenc@suse.cz>
Cc: linux-wireless@vger.kernel.org, John Linville <linville@tuxdriver.com>
Subject: Re: "Stable" branch of mac80211
Date: Sun, 29 Apr 2007 14:14:14 -0400	[thread overview]
Message-ID: <200704291414.19963.flamingice@sourmilk.net> (raw)
In-Reply-To: <20070429194855.451b9e7c@logostar.upir.cz>


[-- Attachment #1.1: Type: text/plain, Size: 679 bytes --]

On Sunday 29 April 2007 13:48, Jiri Benc wrote:
> Please note that this branch is expected to be rebased frequently and all
> patches are subject to change.
>
wireless-dev has been updated recently. One of the conflicts can be resolved 
easily. There's also an API change which conflicts with the qdisc fixes 
because tcf_destroy is no longer exported. A patch for that is attached.

Once updated to the latest wireless-dev, it should be fairly easy to pull 
together a patch for net-2.6 since wireless-dev should have all the major 
networking API changes for 2.6.22. I think mac80211 can be pushed to net-2.6 
after that. What do you think?

Thanks,
-Michael Wu

[-- Attachment #1.2: 19-fix-tcf-api-update.diff --]
[-- Type: text/x-diff, Size: 992 bytes --]

mac80211: update qdisc code to use tcf_destroy_chain

From: Michael Wu <flamingice@sourmilk.net>

tcf_destroy is no longer exported. Use tcf_destroy_chain instead.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
---

 net/mac80211/wme.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
index 1cb6358..9874d9a 100644
--- a/net/mac80211/wme.c
+++ b/net/mac80211/wme.c
@@ -354,13 +354,10 @@ static void wme_qdiscop_destroy(struct Qdisc* qd)
 	struct ieee80211_sched_data *q = qdisc_priv(qd);
 	struct ieee80211_local *local = wdev_priv(qd->dev->ieee80211_ptr);
 	struct ieee80211_hw *hw = &local->hw;
-	struct tcf_proto *tp;
 	int queue;
 
-	while ((tp = q->filter_list) != NULL) {
-		q->filter_list = tp->next;
-		tcf_destroy(tp);
-	}
+	tcf_destroy_chain(q->filter_list);
+	q->filter_list = NULL;
 
 	for (queue=0; queue < hw->queues; queue++) {
 		skb_queue_purge(&q->requeued[queue]);

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-04-29 19:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 17:48 "Stable" branch of mac80211 Jiri Benc
2007-04-29 18:14 ` Michael Wu [this message]
2007-04-29 19:55   ` Jiri Benc
2007-04-30 16:52 ` James Ketrenos
2007-04-30 17:29   ` Jiri Benc
2007-04-30 18:45     ` John W. Linville
2007-05-01  1:00 ` Jiri Benc

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=200704291414.19963.flamingice@sourmilk.net \
    --to=flamingice@sourmilk.net \
    --cc=jbenc@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox