~cyphermox/bluez/5.23

« back to all changes in this revision

Viewing changes to monitor/hcidump.c

  • Committer: Package Import Robot
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2013-07-22 12:19:37 UTC
  • mfrom: (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130722121937-1psxjsrm6354ms3p
Tags: 4.101-2
* Upload to unstable. (Closes: #714516)
* Update README.Debian.
  - Add infomation of use RFCOMM with pnat. (Closes: #690749)
  - Fix typo. Thanks to jidanni. (Closes: #700991)

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
 
234
234
        if (ioctl(fd, HCIGETDEVLIST, (void *) dl) < 0) {
235
235
                perror("Failed to get device list");
236
 
                return;
 
236
                goto done;
237
237
        }
238
238
 
239
239
        for (i = 0; i < dl->dev_num; i++, dr++) {
253
253
                open_device(dr->dev_id);
254
254
        }
255
255
 
 
256
done:
256
257
        free(dl);
257
258
}
258
259