patch-2.4.20 linux-2.4.20/include/net/bluetooth/hci_core.h

Next file: linux-2.4.20/include/net/dsfield.h
Previous file: linux-2.4.20/include/net/bluetooth/hci.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/net/bluetooth/hci_core.h linux-2.4.20/include/net/bluetooth/hci_core.h
@@ -23,7 +23,7 @@
 */
 
 /* 
- * $Id: hci_core.h,v 1.4 2002/06/25 22:04:43 maxk Exp $ 
+ * $Id: hci_core.h,v 1.5 2002/06/27 04:56:30 maxk Exp $ 
  */
 
 #ifndef __HCI_CORE_H
@@ -149,7 +149,7 @@
 
 extern struct hci_proto *hci_proto[];
 extern struct list_head hdev_list;
-extern spinlock_t hdev_list_lock;
+extern rwlock_t hdev_list_lock;
 
 /* ----- Inquiry cache ----- */
 #define INQUIRY_CACHE_AGE_MAX   (HZ*30)   // 30 seconds

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