Dag Brattli <[EMAIL PROTECTED]> writes:
> Hmm, what should I have done without your bug-rapports telling that my code
> is not perfect? Now I just had to dive into the code again :-( But I think
> I found the bug. If you want to test it out before I get a chance to make a
> new patch, you can move the lines below from ircomm_ttp.c,
> ircomm_ttp_data_request(), to ircomm_service.c, ircomm_data_request()
>
> /*
> * Insert clen field, currently we either send data only, or control
> * only frames, to make things easier and avoid queueing
> */
> ASSERT(skb_headroom(skb) >= 1, return -1;);
> skb_push(skb, IRCOMM_HEADER_SIZE);
> skb->data[0] = 0;
Nice. Works perfectly. ppp connection to my ISP established on the
first try. BTW, why not use 2.3.13 for ppp? Just
1) # mknod /dev/ppp c 108 0
2) add the following to /etc/conf.modules (if you are using modules):
alias tty-ldisc-3 ppp_async
alias char-major-108 ppp_generic
3) get ppp-2.3.9 from
<URL:ftp://cs.anu.edu.au/pub/software/ppp/ppp-pre-2.3.9.tar.gz>
Or are there any known problems with the new ppp code?
> Just a few more hacks, and the IrCOMM impl. should be pretty good!
That's why I took the chance and moved to 2.3.x even though I am not a
developer. We believe in you :-)
Bj�rn
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda