tedboudros / tplink-ub500-linux-patch-guide

A guide on how to get the UB500 bluetooth dongle working on <5.16 linux kernels!
53 stars 2 forks source link

error: ‘HCI_ISODATA_PKT’ undeclared (first use in this function); did you mean ‘HCI_SCODATA_PKT’? #6

Closed choubingyi closed 7 months ago

choubingyi commented 7 months ago

Hi there, I got an error when I build ko file. Ubuntu 20.04 error: ‘HCI_ISODATA_PKT’ undeclared (first use in this function); did you mean ‘HCI_SCODATA_PKT’? 181 | case HCI_ISODATA_PKT: | ^~~~~~~ | HCI_SCODATA_PKT /home/jchou20/Downloads/linux-5.11/drivers/bluetooth/hci_vhci.c:181:7: note: each undeclared identifier is reported only once for each function it appears in make[1]: [scripts/Makefile.build:270: /home/jchou/Downloads/linux-5.11/drivers/bluetooth/hci_vhci.o] Error 1 make: [Makefile:1778: /home/jchou/Downloads/linux-5.11/drivers/bluetooth] Error 2 make: Leaving directory '/usr/src/linux-headers-5.4.0-174-generic'

choubingyi commented 7 months ago

I use wrong kernel. fixed.