diff options
| -rw-r--r-- | include/hci.h | 3 | ||||
| -rw-r--r-- | src/hci.c | 8 | 
2 files changed, 7 insertions, 4 deletions
diff --git a/include/hci.h b/include/hci.h index becbbb06..4cd8c7d9 100644 --- a/include/hci.h +++ b/include/hci.h @@ -48,12 +48,13 @@ extern "C" {  #define HCI_DEV_RESUME	6  /* HCI device types */ -#define HCI_VHCI	0 +#define HCI_VIRTUAL	0  #define HCI_USB		1  #define HCI_PCCARD	2  #define HCI_UART	3  #define HCI_RS232	4  #define HCI_PCI		5 +#define HCI_SDIO	6  /* HCI device flags */  enum { @@ -138,8 +138,8 @@ static int hci_str2uint(hci_map *map, char *str, unsigned int *val)  char *hci_dtypetostr(int type)  {  	switch (type) { -	case HCI_VHCI: -		return "VHCI"; +	case HCI_VIRTUAL: +		return "VIRTUAL";  	case HCI_USB:  		return "USB";  	case HCI_PCCARD: @@ -150,8 +150,10 @@ char *hci_dtypetostr(int type)  		return "RS232";  	case HCI_PCI:  		return "PCI"; +	case HCI_SDIO: +		return "SDIO";  	default: -		return "UKNW"; +		return "UNKNOWN";  	}  }  | 
