mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
795 B

  1. diff -ruN btscanner-1.0/bs_info.c btscanner-1.0-new/bs_info.c
  2. --- btscanner-1.0/bs_info.c 2003-10-14 18:31:10.000000000 +0200
  3. +++ btscanner-1.0-new/bs_info.c 2005-06-09 11:05:00.000000000 +0200
  4. @@ -160,7 +160,7 @@
  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;;
  12. @@ -292,11 +292,11 @@
  13. memset(&rq, 0, sizeof(rq));
  14. memset(&rp_lq, 0, sizeof(rp_lq));
  15. rq.ogf = OGF_STATUS_PARAM;
  16. - rq.ocf = OCF_GET_LINK_QUALITY;
  17. + rq.ocf = OCF_READ_LINK_QUALITY;
  18. rq.cparam = &handle;
  19. rq.clen = 2;
  20. rq.rparam = &rp_lq;
  21. - rq.rlen = GET_LINK_QUALITY_RP_SIZE;
  22. + rq.rlen = READ_LINK_QUALITY_RP_SIZE;
  23. if (hci_send_req(dd, &rq, 100) < 0) {
  24. p->lq_status = (uint8_t)-1;