[oe-commits] org.oe.dev wifistix-modules: added missing patch from Gumstix

hrw commit openembedded-commits at lists.openembedded.org
Thu Jan 17 21:04:09 UTC 2008


wifistix-modules: added missing patch from Gumstix

Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: 964b970138436b573add519a1eae7ca7aec32517
ViewMTN: http://monotone.openembedded.org/revision/info/964b970138436b573add519a1eae7ca7aec32517
Files:
1
packages/wifistix/wifistix-modules/sk_buff.patch
Diffs:

#
# mt diff -r14cc6e5539bbdc026ec0c1854ce3842d33a4aa35 -r964b970138436b573add519a1eae7ca7aec32517
#
# 
# 
# add_file "packages/wifistix/wifistix-modules/sk_buff.patch"
#  content [07ad752e578a675b4aaf3843012740c28acd3d2d]
# 
============================================================
--- packages/wifistix/wifistix-modules/sk_buff.patch	07ad752e578a675b4aaf3843012740c28acd3d2d
+++ packages/wifistix/wifistix-modules/sk_buff.patch	07ad752e578a675b4aaf3843012740c28acd3d2d
@@ -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);






More information about the Openembedded-commits mailing list