1 diff -bBdup btscanner-1.0-orig/bs_info.c btscanner-1.0/bs_info.c
2 --- btscanner-1.0-orig/bs_info.c 2006-11-06 11:58:20.000000000 -0800
3 +++ btscanner-1.0/bs_info.c 2006-11-06 11:58:50.000000000 -0800
4 @@ -160,7 +160,7 @@ int bs_get_info (struct proc_info *pi, i
5 struct hci_conn_info_req *cr;
8 - get_link_quality_rp rp_lq;
9 + read_link_quality_rp rp_lq;
13 @@ -292,11 +292,11 @@ int bs_get_info (struct proc_info *pi, i
14 memset(&rq, 0, sizeof(rq));
15 memset(&rp_lq, 0, sizeof(rp_lq));
16 rq.ogf = OGF_STATUS_PARAM;
17 - rq.ocf = OCF_GET_LINK_QUALITY;
18 + rq.ocf = OCF_READ_LINK_QUALITY;
22 - rq.rlen = GET_LINK_QUALITY_RP_SIZE;
23 + rq.rlen = READ_LINK_QUALITY_RP_SIZE;
25 if (hci_send_req(dd, &rq, 100) < 0) {
26 p->lq_status = (uint8_t)-1;