]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[Bluetooth] Signal user-space for HIDP and BNEP socket errors
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:53 +0000 (20:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:53 +0000 (20:13 +0200)
commitec8dab36e0738d3059980d144e34f16a26bbda7d
treed1854559838c4ac228c9586faae44625c08d30ba
parenta0c22f226502be6eab37a1d9bf6fb0fadf551376
[Bluetooth] Signal user-space for HIDP and BNEP socket errors

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>
net/bluetooth/bnep/core.c
net/bluetooth/hidp/core.c