static int __init l2cap_init(void){	int err;		err = proto_register(&l2cap_proto, 0);	if (err < 0)		return err;	err = bt_sock_register(BTPROTO_L2CAP, &l2cap_sock_family_ops);	if (err < 0) {		BT_ERR("L2CAP socket registration failed");		goto error;	}	err = hci_register_proto(&l2cap_hci_proto);	if (err < 0) {		BT_ERR("L2CAP protocol registration failed");		bt_sock_unregister(BTPROTO_L2CAP);		goto error;	}	l2cap_proc_init();	BT_INFO("L2CAP ver %s", VERSION);	BT_INFO("L2CAP socket layer initialized");	return 0;error:	proto_unregister(&l2cap_proto);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/be9d122730c878baafe11e70d1436faac229f2fc/l2cap.c/clean/net/bluetooth/l2cap.c