]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Ein kleiner Patch am Fritz-Treiber.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 6 Aug 2007 19:45:54 +0000 (19:45 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 6 Aug 2007 19:45:54 +0000 (19:45 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@743 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

lfs/linux
src/patches/mISDN-avmfritz.patch [new file with mode: 0644]

index 2865fd7b3a3b4fbe7e21b2c5abe4e771644b06df..ff8f5e4af4efc3e596f1ee25eee11bbd9a985d71 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -160,6 +160,8 @@ endif
        cd $(DIR_SRC) && rm -rf mISDN-*
        cd $(DIR_SRC) && tar xfz $(DIR_DL)/mISDN-1_1_5.tar.gz
        cd $(DIR_SRC)/mISDN-1_1_5 && yes 'yes' | ./std2kern -k /usr/src/linux
+       
+       cd $(DIR_APP)/drivers/isdn/hardware/mISDN && patch -Np0 < $(DIR_SRC)/src/patches/mISDN-avmfritz.patch
 
 ifeq "$(SMP)" ""
        # Only do this once on the non-SMP pass
diff --git a/src/patches/mISDN-avmfritz.patch b/src/patches/mISDN-avmfritz.patch
new file mode 100644 (file)
index 0000000..69c880f
--- /dev/null
@@ -0,0 +1,11 @@
+--- avm_fritz.c.old    Tue Feb 13 11:43:45 2007
++++ avm_fritz.c        Wed Apr 11 15:26:32 2007
+@@ -781,6 +781,8 @@
+                       spin_lock_irqsave(inst->hwlock, flags);
+                       ret = modehdlc(bch, bch->channel,
+                               bch->inst.pid.protocol[1]);
++                      if (bch->inst.pid.protocol[2] == ISDN_PID_L2_B_TRANS)
++                              test_and_set_bit(FLG_L2DATA, &bch->Flags);
+                       spin_unlock_irqrestore(inst->hwlock, flags);
+               }
+               skb_trim(skb, 0);