diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2011-08-05 10:52:01 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-08-11 19:50:28 -0300 |
commit | ff062ea109217329b88693bc9081da893eb8b71b (patch) | |
tree | 25b4920565424ce1afb352299b19633710289681 /drivers/tty/tty_ldisc.c | |
parent | 615aedd6e5add8104f031b0d547285652d04d330 (diff) | |
download | lwn-ff062ea109217329b88693bc9081da893eb8b71b.tar.gz lwn-ff062ea109217329b88693bc9081da893eb8b71b.zip |
Bluetooth: hidp: Don't release device ref if never held
When an hidp connection is added for a boot protocol input
device, don't release a device reference that was never
acquired. The device reference is acquired when the session
is linked to the session list (which hasn't happened yet when
hidp_setup_input is called).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions