mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 04:26:16 +02:00
atm/solos-pci: Fix incorrectly applied patch.
Thanks to Philip A. Prindeville for pointing it out. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25881 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
31ff12316a
commit
b0dc10d3a2
@ -1,16 +1,15 @@
|
||||
--- /dev/null
|
||||
+++ b/linux/generic/patches-2.6.37/281-solos_vpi_order.patch
|
||||
@@ -0,0 +1,13 @@
|
||||
+--- a/drivers/atm/solos-pci.c 2010-12-24 01:07:09.000000000 -0700
|
||||
++++ b/drivers/atm/solos-pci.c 2010-12-24 14:18:45.000000000 -0700
|
||||
+@@ -734,8 +734,8 @@ void solos_bh(unsigned long card_arg)
|
||||
+ le16_to_cpu(header->vci));
|
||||
+ if (!vcc) {
|
||||
+ if (net_ratelimit())
|
||||
+- dev_warn(&card->dev->dev, "Received packet for unknown VCI.VPI %d.%d on port %d\n",
|
||||
+- le16_to_cpu(header->vci), le16_to_cpu(header->vpi),
|
||||
++ dev_warn(&card->dev->dev, "Received packet for unknown VPI.VCI %d.%d on port %d\n",
|
||||
++ le16_to_cpu(header->vpi), le16_to_cpu(header->vci),
|
||||
+ port);
|
||||
+ continue;
|
||||
+ }
|
||||
Index: linux-2.6.37/drivers/atm/solos-pci.c
|
||||
===================================================================
|
||||
--- linux-2.6.37.orig/drivers/atm/solos-pci.c 2011-03-05 21:46:26.136023697 +0100
|
||||
+++ linux-2.6.37/drivers/atm/solos-pci.c 2011-03-05 21:48:49.046598163 +0100
|
||||
@@ -710,8 +710,8 @@ void solos_bh(unsigned long card_arg)
|
||||
le16_to_cpu(header->vci));
|
||||
if (!vcc) {
|
||||
if (net_ratelimit())
|
||||
- dev_warn(&card->dev->dev, "Received packet for unknown VCI.VPI %d.%d on port %d\n",
|
||||
- le16_to_cpu(header->vci), le16_to_cpu(header->vpi),
|
||||
+ dev_warn(&card->dev->dev, "Received packet for unknown VPI.VCI %d.%d on port %d\n",
|
||||
+ le16_to_cpu(header->vpi), le16_to_cpu(header->vci),
|
||||
port);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user