aboutsummaryrefslogtreecommitdiffstats
path: root/packages/wifistix
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-01-17 15:33:14 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-01-17 15:33:14 +0000
commite07765d6ea242d863c3f4f81bdc6379ae61347c5 (patch)
tree8cc2cb4d1b545b40d48262878d2039001b87ca0a /packages/wifistix
parent4ff3a53c2fa48c87ecdef72a56811ad29ce79aba (diff)
downloadopenembedded-e07765d6ea242d863c3f4f81bdc6379ae61347c5.tar.gz
wifistix-modules: added missing patch from Gumstix
Diffstat (limited to 'packages/wifistix')
-rw-r--r--packages/wifistix/wifistix-modules/sk_buff.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/wifistix/wifistix-modules/sk_buff.patch b/packages/wifistix/wifistix-modules/sk_buff.patch
new file mode 100644
index 0000000000..4ee602f42b
--- /dev/null
+++ b/packages/wifistix/wifistix-modules/sk_buff.patch
@@ -0,0 +1,18 @@
+--- src_cf8385/wlan/wlan_wmm.c 2007-06-22 11:23:39.000000000 -0700
++++ src_cf8385/wlan/wlan_wmm-orig.c 2007-10-28 13:27:46.000000000 -0700
+@@ -701,9 +701,15 @@
+ switch (eth->h_proto)
+ {
+ case __constant_htons(ETH_P_IP):
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
++ PRINTM(INFO, "packet type ETH_P_IP: %04x, tos=%#x prio=%#x\n",
++ eth->h_proto,ip_hdr(skb)->tos,skb->priority);
++ tos = IPTOS_PREC(ip_hdr(skb)->tos) >> IPTOS_OFFSET;
++#else
+ PRINTM(INFO, "packet type ETH_P_IP: %04x, tos=%#x prio=%#x\n",
+ eth->h_proto,skb->nh.iph->tos,skb->priority);
+ tos = IPTOS_PREC(skb->nh.iph->tos) >> IPTOS_OFFSET;
++#endif
+ break;
+ case __constant_htons(ETH_P_ARP):
+ PRINTM(INFO, "ARP packet %04x\n",eth->h_proto);