~ubuntu-branches/ubuntu/hardy/linux-backports-modules-2.6.24/hardy-security

« back to all changes in this revision

Viewing changes to updates/wireless/iwlwifi/mac80211/patches/tcf_destroy_chain.patch

  • Committer: Bazaar Package Importer
  • Author(s): , Ben Collins
  • Date: 2008-04-02 06:59:04 UTC
  • Revision ID: james.westby@ubuntu.com-20080402065904-e5knh2gn2hms3xbb
Tags: 2.6.24-14.11
[Ben Collins]

* iwlwifi: Update to iwlwifi-1.2.25 and mac80211-10.0.4
  - LP: #200950
* ubuntu: Slight cleanups to module hiearchy and Makefiles
* mac80211: Enable LED triggers
* iwlwifi: Add LED trigger support (rx and tx only)
  - LP: #176090

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Add tcf_destroy_chain to mac80211's wme.c
 
2
--- origin/net/mac80211/wme.c   2007-06-07 13:25:22.000000000 +0800
 
3
--- update/net/mac80211/wme.c   2007-06-07 13:25:22.000000000 +0800
 
4
@@ -85,6 +85,16 @@ ieee80211_rx_h_remove_qos_control(struct
 
5
 /* maximum number of hardware queues we support. */
 
6
 #define TC_80211_MAX_QUEUES 8
 
7
 
 
8
+void tcf_destroy_chain(struct tcf_proto *fl)
 
9
+{
 
10
+       struct tcf_proto *tp;
 
11
+
 
12
+       while ((tp = fl) != NULL) {
 
13
+               fl = tp->next;
 
14
+               tcf_destroy(tp);
 
15
+       }
 
16
+}
 
17
+
 
18
 struct ieee80211_sched_data
 
19
 {
 
20
        struct tcf_proto *filter_list;