From: Peter K. <pk...@us...> - 2001-09-06 16:02:37
|
The following file was modified in apps/bluetooth/experimental: Name Old version New version Comment ---- ----------- ----------- ------- bt_vendor.c 1.26 1.27=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Shutdown the stack at the end of csr_h4_to_bcsp() and csr_bcsp_to_h4(). The diff of the modified file(s): --- bt_vendor.c 2001/08/29 10:02:05 1.26 +++ bt_vendor.c 2001/09/06 16:02:37 1.27 @@ -387,6 +387,8 @@ =20 /* Set back stack to use H4 framing */ bt_bcsp_mode(bt_cfd, 0); + + shutdown_stack(bt_cfd); } =20 void csr_h4_to_bcsp(int bt_cfd, int phys_fd) @@ -430,16 +432,16 @@ ps_parbuf[0] =3D 0x1; /* BCSP */ csr_pskey(bt_cfd, PSKEY_HOST_INTERFACE,=20 CSR_PSKEY_SETREQ, ps_parbuf, 1); - - /* Should not be needed if hw_vendor is changed in kernel ....*/ - - /* Set back stack to use BCSP framing */ - bt_bcsp_mode(bt_cfd, 1); } else { syslog(LOG_ERR, __FUNCTION__ ": Unknown PS key parameter: %d", ps_parb= uf[1]); } + + /* Set back stack to use BCSP framing */ + bt_bcsp_mode(bt_cfd, 1); + + shutdown_stack(bt_cfd); } =20 =20 |