]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc692b6d54ac8c34e8f18b162b4f9782ddfac8e29
tree8ed23c1ea5da6a3c1e1ddc9a3f7a70b016b643f8
parent3aa8f18bca074237333b34fa98e643606e95d6fd
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