Default gumstix configuration changed
[gumsense-br.git] / package / btscanner / btscanner-get-becomes-read.patch
blob18c2614a923eaea790b9e2a4a79defdfa5ec0de9
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;
6 struct hci_request rq;
7 read_rssi_rp rp_rssi;
8 - get_link_quality_rp rp_lq;
9 + read_link_quality_rp rp_lq;
10 int err = 0;
11 int leave = 0;;
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;
19 rq.cparam = &handle;
20 rq.clen = 2;
21 rq.rparam = &rp_lq;
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;