aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/bnep
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/bnep')
-rw-r--r--net/bluetooth/bnep/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
index f85d94643aaf..24e91eb7f649 100644
--- a/net/bluetooth/bnep/core.c
+++ b/net/bluetooth/bnep/core.c
@@ -507,6 +507,11 @@ static int bnep_session(void *arg)
507 /* Delete network device */ 507 /* Delete network device */
508 unregister_netdev(dev); 508 unregister_netdev(dev);
509 509
510 /* Wakeup user-space polling for socket errors */
511 s->sock->sk->sk_err = EUNATCH;
512
513 wake_up_interruptible(s->sock->sk->sk_sleep);
514
510 /* Release the socket */ 515 /* Release the socket */
511 fput(s->sock->file); 516 fput(s->sock->file);
512 517