patch-2.3.36 linux/net/irda/af_irda.c

Next file: linux/net/irda/ircomm/ircomm_core.c
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/net/irda/af_irda.c linux/net/irda/af_irda.c
@@ -42,6 +42,7 @@
  *     
  ********************************************************************/
 
+#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/socket.h>
 #include <linux/sockios.h>
@@ -1604,7 +1605,7 @@
  	struct sock *sk = sock->sk;
 	struct irda_sock *self;
 	struct irda_ias_set	ias_opt;
-	struct ias_object *	ias_obj;
+	struct ias_object      *ias_obj;
 	int opt;
 	
 	self = sk->protinfo.irda;
@@ -1676,7 +1677,7 @@
 
 		IRDA_DEBUG(0, __FUNCTION__ "(), sorry not impl. yet!\n");
 		return -ENOPROTOOPT;
-	case IRTTP_MAX_SDU_SIZE:
+	case IRLMP_MAX_SDU_SIZE:
 		if (optlen < sizeof(int))
 			return -EINVAL;
 	
@@ -1904,7 +1905,7 @@
 				 sizeof(struct irda_device_info)))
 			return -EFAULT;
 		break;
-	case IRTTP_MAX_SDU_SIZE:
+	case IRLMP_MAX_SDU_SIZE:
 		val = self->max_data_size;
 		len = sizeof(int);
 		if (put_user(len, optlen))

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