Bluetooth: Add error mapping for Directed Advertising Timeout
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 18:21:52 +0000 (20:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Mar 2014 16:31:36 +0000 (09:31 -0700)
commit43bb560583c9fb21bcec0cc68426a16bca8eb87a
tree8ed23c1ea5da6a3c1e1ddc9a3f7a70b016b643f8
parent80c24ab85fc27a9683d732016bfa69033a292cf4
Bluetooth: Add error mapping for Directed Advertising Timeout

When a timeout occurs using directed advertising a 0x3c error gets
generated. Since the operation is analogous to conventional connection
creation map this to the usual EHOSTDOWN error.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/lib.c