commit | 615aedd6e5add8104f031b0d547285652d04d330 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Fri Aug 05 10:51:50 2011 -0400 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Aug 11 19:50:28 2011 -0300 |
tree | 9c35724c899a9e468538b03e3dfffbe8ecfd63dc | |
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>