|
From: Anders J. <and...@us...> - 2001-11-15 15:00:37
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
hci.c 1.188 1.189=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
* Added call to bt_handle_hw_error when we receive an hwerror.
The diff of the modified file(s):
--- hci.c 2001/10/22 12:51:44 1.188
+++ hci.c 2001/11/15 15:00:36 1.189
@@ -857,7 +857,6 @@
=20
/* enable m/s switch */=20
write_link_policy_settings(hci_hdl, 0x01);
-
/* we demand role switch as server */
if (force_msswitch && !i_am_initiator) {
/* FIXME -- check return code */
@@ -1031,6 +1030,7 @@
case HARDWARE_ERROR:
D_ERR(__FUNCTION__ ": A hardware error with error code 0x%02X occurred.\=
n", buf[0]);
D_ERR(__FUNCTION__ ": Please refer to your Bluetooth module's manual.\n"=
);
+ bt_handle_hw_error(buf[0]);
break;
=20
case ROLE_CHANGED:
@@ -2331,7 +2331,7 @@
s32
hci_switch_role(u8 *bd, u8 role)
{
- DSYS(__FUNCTION__ ": role %d\n", role);
+ D_CMD(__FUNCTION__ ": role %d\n", role);
=20
c_pkt.type =3D CMD_PKT;
c_pkt.opcode =3D hci_put_opcode(SWITCH_ROLE, HCI_LP);
|