diff options
author | Peter Hurley | 2011-08-05 10:51:50 -0400 |
---|---|---|
committer | Gustavo F. Padovan | 2011-08-11 19:50:28 -0300 |
commit | 615aedd6e5add8104f031b0d547285652d04d330 (patch) | |
tree | 9c35724c899a9e468538b03e3dfffbe8ecfd63dc /net/econet | |
parent | 1c97e94c0b7c56319754ee6f9ccd2e93fe1ee2b3 (diff) |
Bluetooth: hidp: Only free input device if failed register
When an hidp connection is added for a boot protocol input
device, only free the allocated device if device registration fails.
Subsequent failures should only unregister the device (the input
device api documents that unregister will also free the allocated
device).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions