Add mapping for SCO INTERVAL REJECTED (0X1C) and SCO AIR MODE REJECTED (0X1D) error codes. It should map to ECONNREFUSED instead of ENOSYS. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@xxxxxxxxx> --- net/bluetooth/lib.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c index b826d1b..af615c9 100644 --- a/net/bluetooth/lib.c +++ b/net/bluetooth/lib.c @@ -136,6 +136,8 @@ int bt_err(__u16 code) return EPROTONOSUPPORT; case 0x1b: + case 0x1c: + case 0x1d: return ECONNREFUSED; case 0x19: -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html