diff options
Diffstat (limited to 'src/hci.c')
| -rw-r--r-- | src/hci.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| @@ -762,6 +762,8 @@ int hci_devba(int dev_id, bdaddr_t *bdaddr)  {  	struct hci_dev_info di; +	memset(&di, 0, sizeof(di)); +  	if (hci_devinfo(dev_id, &di))  		return -1; | 
