diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2003-04-15 19:20:58 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2003-04-15 19:20:58 +0000 |
commit | e9c06d166a352ee2e9b037397f4fb4ba1c8c43f2 (patch) | |
tree | 8e12611eb6830e911ab4441e40097da2542ce00e /rfcomm/main.c | |
parent | 424f2b1bb5f34a89adc279c216bdf1f032dffa8d (diff) |
Use the bind option in the config file
Diffstat (limited to 'rfcomm/main.c')
-rw-r--r-- | rfcomm/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rfcomm/main.c b/rfcomm/main.c index b0df9c72..17cb14b6 100644 --- a/rfcomm/main.c +++ b/rfcomm/main.c @@ -185,6 +185,9 @@ static int create_all(int ctl) } for (i = 0; i < RFCOMM_MAX_DEV; i++) { + if (!rfcomm_opts[i].bind) + continue; + memset(&req, 0, sizeof(req)); req.dev_id = i; req.flags = 0; |