summaryrefslogtreecommitdiff
path: root/net/bluetooth/lib.c
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>2011-03-17 12:17:30 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:07:32 +0200
commitcca20365f85a272c284fc91e901a7da6180ca876 (patch)
treeb1768331df254e60dd7334c6cd2bd73d0105d35f /net/bluetooth/lib.c
parent5bcdc61f0f3f1765382a1840cdd52a8237bd4246 (diff)
bluetooth: Add SCO parameters support for socket
Adds ability to setup SCO connection parameters through socket option. ST-Ericsson Linux next: Not tested, ER 256277 ST-Ericsson ID: 256277 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10137 Change-Id: If859341019fd9f7cc7c0efe95750779e84fac801 Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30136 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Tested-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Diffstat (limited to 'net/bluetooth/lib.c')
-rw-r--r--net/bluetooth/lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/lib.c b/net/bluetooth/lib.c
index 506628876f3..09d027de88b 100644
--- a/net/bluetooth/lib.c
+++ b/net/bluetooth/lib.c
@@ -138,6 +138,8 @@ int bt_to_errno(__u16 code)
return EPROTONOSUPPORT;
case 0x1b:
+ case 0x1c:
+ case 0x1d:
return ECONNREFUSED;
case 0x19: