patch-2.4.19 linux-2.4.19/net/bluetooth/lib.c

Next file: linux-2.4.19/net/bluetooth/sco.c
Previous file: linux-2.4.19/net/bluetooth/l2cap_proc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/net/bluetooth/lib.c linux-2.4.19/net/bluetooth/lib.c
@@ -25,7 +25,7 @@
 /*
  * BlueZ kernel library.
  *
- * $Id: lib.c,v 1.3 2001/06/22 23:14:23 maxk Exp $
+ * $Id: lib.c,v 1.2 2002/06/20 19:55:08 maxk Exp $
  */
 
 #include <linux/kernel.h>
@@ -105,7 +105,7 @@
 		return EACCES;
 
 	case 0x06:
-		return EINVAL;
+		return EBADE;
 
 	case 0x07:
 		return ENOMEM;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)