summaryrefslogtreecommitdiffstats
path: root/rfcomm
diff options
context:
space:
mode:
Diffstat (limited to 'rfcomm')
-rw-r--r--rfcomm/main.c3
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;