Ein kleiner Patch am Fritz-Treiber.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@743 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-08-06 19:45:54 +00:00
parent fe7fe39528
commit 7146d4a5a8
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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);