Bluetooth: Signal user-space for HIDP and BNEP socket errors
commitb6380a7f378b843244f63f14c798102f541a7284
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:53 +0000 (14 20:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Aug 2008 16:03:19 +0000 (6 09:03 -0700)
treef7510db8eb72e0c147b223a493fe45b2af3f504d
parent07aac29463e3db0f60fe5c59551be19f973e0f99
Bluetooth: Signal user-space for HIDP and BNEP socket errors

commit ec8dab36e0738d3059980d144e34f16a26bbda7d upstream

When using the HIDP or BNEP kernel support, the user-space needs to
know if the connection has been terminated for some reasons. Wake up
the application if that happens. Otherwise kernel and user-space are
no longer on the same page and weird behaviors can happen.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bluetooth/bnep/core.c
net/bluetooth/hidp/core.c