Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108316 Details for
Bug 159277
[2.6.19 regression] ppp over bluetooth fails with "TIOCGSERIAL is not supported" error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debug patch
rfcomm-debug.patch (text/plain), 985 bytes, created by
Daniel Drake (RETIRED)
on 2007-01-27 21:22:56 UTC
(
hide
)
Description:
debug patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2007-01-27 21:22:56 UTC
Size:
985 bytes
patch
obsolete
>Index: linux/net/bluetooth/rfcomm/tty.c >=================================================================== >--- linux.orig/net/bluetooth/rfcomm/tty.c >+++ linux/net/bluetooth/rfcomm/tty.c >@@ -36,6 +36,7 @@ > #include <linux/capability.h> > #include <linux/slab.h> > #include <linux/skbuff.h> >+#include <linux/err.h> > > #include <net/bluetooth/bluetooth.h> > #include <net/bluetooth/hci_core.h> >@@ -182,6 +183,7 @@ static int rfcomm_dev_add(struct rfcomm_ > { > struct rfcomm_dev *dev; > struct list_head *head = &rfcomm_dev_list, *p; >+ struct class_device *class; > int err = 0; > > BT_DBG("id %d channel %d", req->dev_id, req->channel); >@@ -261,7 +263,11 @@ out: > return err; > } > >- tty_register_device(rfcomm_tty_driver, dev->id, rfcomm_get_device(dev)); >+ class = tty_register_device(rfcomm_tty_driver, dev->id, rfcomm_get_device(dev)); >+ if (IS_ERR(class)) >+ printk("rfcomm_dev_add error %d\n", PTR_ERR(class)); >+ else >+ printk("rfcomm_dev_add succeeded\n"); > > return dev->id; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159277
: 108316