aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/rfcomm/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/rfcomm/tty.c')
-rw-r--r--net/bluetooth/rfcomm/tty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c
index 248802796e1..8fcca08cef8 100644
--- a/net/bluetooth/rfcomm/tty.c
+++ b/net/bluetooth/rfcomm/tty.c
@@ -271,6 +271,9 @@ static int rfcomm_dev_add(struct rfcomm_dev_req *req, struct rfcomm_dlc *dlc)
271 271
272 dlc->owner = dev; 272 dlc->owner = dev;
273 dev->dlc = dlc; 273 dev->dlc = dlc;
274
275 rfcomm_dev_modem_status(dlc, dlc->remote_v24_sig);
276
274 rfcomm_dlc_unlock(dlc); 277 rfcomm_dlc_unlock(dlc);
275 278
276 /* It's safe to call __module_get() here because socket already 279 /* It's safe to call __module_get() here because socket already